Sha256: 1735df1b522bcd1ebe05ba6d40cde07e23df1b44527e966c60f0c7aad22ea6d8
Contents?: true
Size: 726 Bytes
Versions: 2
Compression:
Stored size: 726 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../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 & 1 rubygems
Version | Path |
---|---|
qbfc-0.1.0-x86-mswin32-60 | spec/unit/entities/generated_spec.rb |
qbfc-0.2.0-x86-mswin32-60 | spec/unit/entities/generated_spec.rb |