Sha256: 3f8bb3c77b06e3ae8e71e74e5029588816f52a56df56165d7f52d6918280fe2b
Contents?: true
Size: 695 Bytes
Versions: 5
Compression:
Stored size: 695 Bytes
Contents
require 'spec_helper' describe 'DeletedAsset' do let(:deleted_asset){ vcr('sync_deleted_asset'){ create_client.sync(initial: true, type: 'DeletedAsset').first_page.items[0] } } describe 'SystemProperties' do it 'has a #sys getter returning a hash with symbol keys' do expect( deleted_asset.sys ).to be_a Hash expect( deleted_asset.sys.keys.sample ).to be_a Symbol end it 'has #id' do expect( deleted_asset.id ).to eq "5c6VY0gWg0gwaIeYkUUiqG" end it 'has #type' do expect( deleted_asset.type ).to eq "DeletedAsset" end it 'has #deleted_at' do expect( deleted_asset.created_at ).to be_a DateTime end end end
Version data entries
5 entries across 5 versions & 1 rubygems