Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rsim/oracle-enhanced
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7a7ed9708595b8ea0e9161a56936fd4675fc7f32
Choose a base ref
..
head repository: rsim/oracle-enhanced
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0d43aa1561384bc1f98182708fefd02ae0e69b65
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/active_record/oracle_enhanced/type/raw_spec.rb
6 changes: 3 additions & 3 deletions spec/active_record/oracle_enhanced/type/raw_spec.rb
Original file line number Diff line number Diff line change
@@ -163,9 +163,9 @@ class ::TestEmployee < ActiveRecord::Base

employee.binary_data << "a"
expect(employee.changed?).to be(true)
expect(employee.changes).to eq({"binary_data" => [@binary_data, @binary_data + "a"]})
expect(employee.changes).to eq({ "binary_data" => [@binary_data, @binary_data + "a"] })

employee.reload.binary_data << "a"
expect(employee.changes).to eq({"binary_data" => [@binary_data, @binary_data + "a"]})
employee.reload.binary_data << "b"
expect(employee.changes).to eq({ "binary_data" => [@binary_data, @binary_data + "b"] })
end
end