Sha256: d93f6c5261747883aca6beeeab7945429e0ff0d631a8ab52721604345784bdb9
Contents?: true
Size: 387 Bytes
Versions: 11
Compression:
Stored size: 387 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
11 entries across 11 versions & 1 rubygems