Sha256: b001421b83eab2627360ca0ddcf92a6fb33773bab76856faaae34aca4da9d187
Contents?: true
Size: 325 Bytes
Versions: 14
Compression:
Stored size: 325 Bytes
Contents
require 'spec_helper' RSpec.describe RecordCollection::Base do it 'Inherits attributes from parent classes' do class TestClass1 < RecordCollection::Base attribute :attr1 end class TestClass2 < TestClass1 attribute :attr2 end TestClass2.attribute_names.should eq %w[attr1 attr2] end end
Version data entries
14 entries across 14 versions & 1 rubygems