spec/factories.rb in dynamic_controller-0.0.1 vs spec/factories.rb in dynamic_controller-0.0.2
- old
+ new
@@ -7,6 +7,15 @@
factory :city do
sequence(:name) { |s| "City #{s}" }
country
end
+ factory :street do
+ sequence(:name) { |s| "Street #{s}" }
+ city
+ end
+
+ factory :language do
+ sequence(:name) { |s| "Language #{s}" }
+ end
+
end