spec/factories/action_factories.rb in artfully_ose-1.2.0 vs spec/factories/action_factories.rb in artfully_ose-1.3.0.pre1
- old
+ new
@@ -1,9 +1,10 @@
FactoryGirl.define do
factory :get_action do
person
occurred_at { DateTime.now }
+ details "An action"
end
factory :do_action, :class => DoAction do
person
subject { person }
@@ -13,7 +14,8 @@
factory :give_action do
person
subject { FactoryGirl.create(:donation) }
occurred_at { DateTime.now }
+ details "An action"
end
end
\ No newline at end of file