spec/integration/schema/inferrer/sqlite_spec.rb in rom-sql-1.0.0.beta3 vs spec/integration/schema/inferrer/sqlite_spec.rb in rom-sql-1.0.0.rc1
- old
+ new
@@ -5,10 +5,11 @@
conn.drop_table?(:test_inferrence)
conn.create_table :test_inferrence do
tinyint :tiny
int8 :big
+ column :dummy, nil
end
end
after do
conn.drop_table?(:test_inferrence)
@@ -29,8 +30,9 @@
source = container.relations[:test_inferrence].name
expect(schema.to_h).to eql(
tiny: ROM::SQL::Types::Int.optional.meta(name: :tiny, source: source),
big: ROM::SQL::Types::Int.optional.meta(name: :big, source: source),
+ dummy: ROM::SQL::Types::SQLite::Object.optional.meta(name: :dummy, source: source)
)
end
end