Sha256: 97f080171c9d191e778411e275a1e912c688d9ba0df888a7b584f42ee33ca925

Contents?: true

Size: 300 Bytes

Versions: 20

Compression:

Stored size: 300 Bytes

Contents

RSpec.describe 'ROM::SQL::Types' do
  describe 'ROM::SQL::Types::SQLite::Object' do
    let(:type) { ROM::SQL::Types::SQLite::Object }

    it 'passes an object of any type' do
      [Object.new, 1, true, BasicObject.new].each do |obj|
        expect(type[obj]).to be obj
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rom-sql-1.3.5 spec/extensions/sqlite/types_spec.rb
rom-sql-1.3.4 spec/extensions/sqlite/types_spec.rb
rom-sql-2.0.0.beta2 spec/extensions/sqlite/types_spec.rb
rom-sql-2.0.0.beta1 spec/extensions/sqlite/types_spec.rb
rom-sql-1.3.3 spec/extensions/sqlite/types_spec.rb
rom-sql-1.3.2 spec/extensions/sqlite/types_spec.rb
rom-sql-1.3.1 spec/extensions/sqlite/types_spec.rb
rom-sql-1.3.0 spec/extensions/sqlite/types_spec.rb
rom-sql-1.2.2 spec/extensions/sqlite/types_spec.rb
rom-sql-1.2.1 spec/extensions/sqlite/types_spec.rb
rom-sql-1.2.0 spec/extensions/sqlite/types_spec.rb
rom-sql-1.1.2 spec/extensions/sqlite/types_spec.rb
rom-sql-1.1.1 spec/extensions/sqlite/types_spec.rb
rom-sql-1.1.0 spec/extensions/sqlite/types_spec.rb
rom-sql-1.0.3 spec/extensions/sqlite/types_spec.rb
rom-sql-1.0.2 spec/extensions/sqlite/types_spec.rb
rom-sql-1.0.1 spec/extensions/sqlite/types_spec.rb
rom-sql-1.0.0 spec/extensions/sqlite/types_spec.rb
rom-sql-1.0.0.rc2 spec/extensions/sqlite/types_spec.rb
rom-sql-1.0.0.rc1 spec/extensions/sqlite/types_spec.rb