Sha256: 0e54a790080ddb851b2e8fff1f8e14de4ac00e04e11b653acfdacd7a69e341d8
Contents?: true
Size: 443 Bytes
Versions: 31
Compression:
Stored size: 443 Bytes
Contents
# require 'volt/models' # # describe Store do # # it "should stay as store classes when used" do # # a = Store.new # # expect(a._test.class).to eq(Store) # # # # expect(a._test._cool.class).to eq(Store) # # # # a._items << {_name: 'Test'} # # # # expect(a._items.class).to eq(StoreArray) # # expect(a._items[0].class).to eq(Store) # # expect(a._items[0]._name.class).to eq(String) # # end # end
Version data entries
31 entries across 31 versions & 1 rubygems