spec/support/driver_collection.rb in baza-0.0.36 vs spec/support/driver_collection.rb in baza-0.0.37
- old
+ new
@@ -338,10 +338,10 @@
db_with_type_translation.insert(:test, text: "Kasper", number: 30, float: 4.5, created_at: Time.now, date: Date.new(2015, 06, 17))
row = db_with_type_translation.select(:test, text: "Kasper").fetch
expect(row.fetch(:text).class).to eq String
- expect(row.fetch(:number).class.name).to eq "Fixnum"
+ expect(row.fetch(:number).class.name).to eq "Integer"
expect(row.fetch(:float).class).to eq Float
if db.driver.conn.class.name == "ActiveRecord::ConnectionAdapters::SQLite3Adapter"
check_time_and_date = false
elsif db.driver.class.name == "Baza::Driver::ActiveRecord" && RUBY_PLATFORM == "java"