Skip to content

Commit

Permalink
new factory file
Browse files Browse the repository at this point in the history
  • Loading branch information
duclong793 committed Jun 23, 2014
1 parent b428a71 commit e68fde6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions spec/factories/longPumpkins.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FactoryGirl.define do
factory :carnival class: Pumpkin do
name 'Carnival'
color 'orange, black, white'
size 's'
price '3.5'
end
factory :kabobcha, class: Pumpkin do
name 'Kabobcha'
color 'black'
size 's'
price '3.0'
end
end

0 comments on commit e68fde6

Please sign in to comment.