From 86ce2fe171bcb2e06386562444853bb371d25012 Mon Sep 17 00:00:00 2001 From: Thilo Ilg Date: Sun, 6 Jul 2014 13:30:54 +0200 Subject: [PATCH] exercise test --- spec/factories/yellowPumpkins.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 spec/factories/yellowPumpkins.rb diff --git a/spec/factories/yellowPumpkins.rb b/spec/factories/yellowPumpkins.rb new file mode 100644 index 0000000..0290ee2 --- /dev/null +++ b/spec/factories/yellowPumpkins.rb @@ -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 \ No newline at end of file