diff --git a/spec/active_record/oracle_enhanced/type/binary_spec.rb b/spec/active_record/oracle_enhanced/type/binary_spec.rb index 99d243acc..244af7c4b 100644 --- a/spec/active_record/oracle_enhanced/type/binary_spec.rb +++ b/spec/active_record/oracle_enhanced/type/binary_spec.rb @@ -137,21 +137,21 @@ class ::TestSerializedHashEmployee < ActiveRecord::Base it "should find serialized NULL BLOB data when queried with nil" do TestSerializedEmployee.delete_all TestSerializedEmployee.create!(binary_data: nil) - TestSerializedEmployee.create!(binary_data: { data: 'some data' }) + TestSerializedEmployee.create!(binary_data: { data: "some data" }) expect(TestSerializedEmployee.where(binary_data: nil)).to have_attributes(count: 1) end it "should find serialized Hash NULL BLOB data when queried with nil" do TestSerializedHashEmployee.delete_all TestSerializedHashEmployee.create!(binary_data: nil) - TestSerializedHashEmployee.create!(binary_data: { data: 'some data' }) + TestSerializedHashEmployee.create!(binary_data: { data: "some data" }) expect(TestSerializedHashEmployee.where(binary_data: nil)).to have_attributes(count: 1) end it "should find serialized Hash NULL BLOB data when queried with {}" do TestSerializedHashEmployee.delete_all TestSerializedHashEmployee.create!(binary_data: nil) - TestSerializedHashEmployee.create!(binary_data: { data: 'some data' }) + TestSerializedHashEmployee.create!(binary_data: { data: "some data" }) expect(TestSerializedHashEmployee.where(binary_data: {})).to have_attributes(count: 1) end end diff --git a/spec/active_record/oracle_enhanced/type/text_spec.rb b/spec/active_record/oracle_enhanced/type/text_spec.rb index e4cf15622..d9e2e47f3 100644 --- a/spec/active_record/oracle_enhanced/type/text_spec.rb +++ b/spec/active_record/oracle_enhanced/type/text_spec.rb @@ -257,21 +257,21 @@ class ::TestSerializeEmployee < ActiveRecord::Base it "should find serialized NULL CLOB data when queried with nil" do TestSerializeEmployee.delete_all TestSerializeEmployee.create!(comments: nil) - TestSerializeEmployee.create!(comments: { some: 'text' }) + TestSerializeEmployee.create!(comments: { some: "text" }) expect(TestSerializeEmployee.where(comments: nil)).to have_attributes(count: 1) end it "should find serialized Hash NULL CLOB data when queried with nil" do TestSerializedHashEmployee.delete_all TestSerializedHashEmployee.create!(comments: nil) - TestSerializedHashEmployee.create!(comments: { some: 'text' }) + TestSerializedHashEmployee.create!(comments: { some: "text" }) expect(TestSerializedHashEmployee.where(comments: nil)).to have_attributes(count: 1) end it "should find serialized Hash NULL CLOB data when queried with {}" do TestSerializedHashEmployee.delete_all TestSerializedHashEmployee.create!(comments: nil) - TestSerializedHashEmployee.create!(comments: { some: 'text' }) + TestSerializedHashEmployee.create!(comments: { some: "text" }) expect(TestSerializedHashEmployee.where(comments: {})).to have_attributes(count: 1) end end