spec/support/account_shared_examples.rb in plutus-0.8.1 vs spec/support/account_shared_examples.rb in plutus-0.9.0
- old
+ new
@@ -14,11 +14,11 @@
end
describe "instance methods" do
its(:balance) { should be_kind_of(BigDecimal) }
- it { should respond_to(:credit_transactions) }
- it { should respond_to(:debit_transactions) }
+ it { should respond_to(:credit_entries) }
+ it { should respond_to(:debit_entries) }
end
it "requires a name" do
account.name = nil
account.should_not be_valid