lib/simba/base_app/test/factory/user_factory.rb in simba-0.0.3 vs lib/simba/base_app/test/factory/user_factory.rb in simba-0.0.4

- old
+ new

@@ -1,3 +1,6 @@ -Factory.define :user do |u| - u.name "simba" +# https://github.com/thoughtbot/factory_girl/wiki/Usage +FactoryGirl.define do + factory :user do + name "simba" + end end