Sha256: 99002e771ea26423b678e024d793a80236288f93581c05205f1736acc3f9ad70
Contents?: true
Size: 551 Bytes
Versions: 3
Compression:
Stored size: 551 Bytes
Contents
require "./spec/spec_helper" describe Economic::DebtorEntry do let(:session) { make_session } subject { Economic::DebtorEntry.new(:session => session) } it "inherits from Economic::Entity" do expect(Economic::DebtorEntry.ancestors).to include(Economic::Entity) end describe ".proxy" do it "should return a DebtorEntryProxy" do expect(subject.proxy).to be_instance_of(Economic::DebtorEntryProxy) end it "should return a proxy owned by session" do expect(subject.proxy.session).to eq(session) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rconomic-0.7.0 | spec/economic/debtor_entry_spec.rb |
rconomic-0.6.1 | spec/economic/debtor_entry_spec.rb |
rconomic-0.6.0 | spec/economic/debtor_entry_spec.rb |