Sha256: 388ce5fd67844f5d552c23af4a7f4f95b8d8daea5b1de9ab1bbca3c7a30a10c7
Contents?: true
Size: 759 Bytes
Versions: 2
Compression:
Stored size: 759 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe "QBFC::Transactions generated.rb" do it "should generate classes" do QBFC::Check.superclass.should be(QBFC::Transaction) QBFC::Bill.superclass.should be(QBFC::Transaction) QBFC::CreditMemo.superclass.should be(QBFC::Transaction) end it "should include Voidable in voidable classes" do QBFC::Check.included_modules.should include(QBFC::Voidable) QBFC::Estimate.included_modules.should_not include(QBFC::Voidable) end it "should include Modifiable in modifiable classes" do QBFC::Check.included_modules.should include(QBFC::Modifiable) QBFC::Deposit.included_modules.should_not include(QBFC::Modifiable) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qbfc-0.1.0-x86-mswin32-60 | spec/unit/transactions/generated_spec.rb |
qbfc-0.2.0-x86-mswin32-60 | spec/unit/transactions/generated_spec.rb |