spec/support/factories.rb in catarse_pagarme-3.0.0 vs spec/support/factories.rb in catarse_pagarme-3.0.1

- old
+ new

@@ -68,11 +68,11 @@ factory :project do |f| #after(:create) do |project| # create(:reward, project: project) # if project.state == 'change_to_online_after_create' - # project.update_attributes(state: 'online') + # project.update(state: 'online') # end #end f.name "Foo bar" f.permalink { generate(:permalink) } f.association :user @@ -188,7 +188,5 @@ factory :city do |f| f.association :state f.name "foo" end end - -