Sha256: 818e07440fcee32f2aa10ea69c1f2805a730b0a5e665631c97853c1f503e72d6
Contents?: true
Size: 676 Bytes
Versions: 2
Compression:
Stored size: 676 Bytes
Contents
require 'spec_helper' describe "QBFC::Entity generated.rb" do it "should generate classes" do QBFC::Customer.superclass.should be(QBFC::Entity) QBFC::Vendor.superclass.should be(QBFC::Entity) QBFC::OtherName.superclass.should be(QBFC::Entity) QBFC::Employee.superclass.should be(QBFC::Entity) end it "should include Modifiable in all classes" do QBFC::Customer.included_modules.should include(QBFC::Modifiable) QBFC::Vendor.included_modules.should include(QBFC::Modifiable) QBFC::OtherName.included_modules.should include(QBFC::Modifiable) QBFC::Employee.included_modules.should include(QBFC::Modifiable) end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jm81-qbfc-0.3.0 | spec/unit/entities/generated_spec.rb |
qbfc-0.3.0 | spec/unit/entities/generated_spec.rb |