spec/dummy/spec/factories/user.rb in validates_overlap-0.1.0 vs spec/dummy/spec/factories/user.rb in validates_overlap-0.1.1
- old
+ new
@@ -1,3 +1,5 @@
-Factory.define :user do |u|
- u.name 'John'
+FactoryGirl.define do
+ factory :user do |u|
+ u.name 'John'
+ end
end