spec/factories/entry_factory.rb in plutus-0.15 vs spec/factories/entry_factory.rb in plutus-0.16

- old
+ new

@@ -1,7 +1,7 @@ FactoryGirl.define do factory :entry, :class => Plutus::Entry do |entry| - entry.description 'factory description' + entry.description { 'factory description' } factory :entry_with_credit_and_debit, :class => Plutus::Entry do |entry_cd| entry_cd.after_build do |t| t.credit_amounts << FactoryGirl.build(:credit_amount, :entry => t) t.debit_amounts << FactoryGirl.build(:debit_amount, :entry => t) end