Skip to content

Commit

Permalink
Merge pull request htw-imi-info3-archive#27 from thiloilg/master
Browse files Browse the repository at this point in the history
thilo ilg exercise 06 - adding some yellow pumpkins to rspec
  • Loading branch information
bkleinen committed Jul 7, 2014
2 parents 2c63f70 + 86ce2fe commit 4d3652d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions spec/factories/yellowPumpkins.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FactoryGirl.define do
factory :spaghettisquash, class: Pumpkin do
name 'Spaghetti-Squash'
color 'yellow'
size 's'
price '4.99'
end
factory :smallwonder, class: Pumpkin do
name 'Small-Wonder'
color 'yellow'
size 'm'
price '5.99'
end
factory :halloweeninparis, class: Pumpkin do
name 'Halloween-In-Paris'
color 'yellow'
size 'l'
price '19.99'
end
end

0 comments on commit 4d3652d

Please sign in to comment.