Skip to content

Commit

Permalink
Merge pull request #143 from wata727/remove_unneeded_spec
Browse files Browse the repository at this point in the history
Remove unneeded spec for Rails 5.x
  • Loading branch information
wata727 authored Aug 7, 2023
2 parents b9763b1 + 831a3a0 commit cef35a4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions spec/activerecord-bitemporal/bitemporal_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2743,10 +2743,4 @@ class EmployeeWithUniquness < Employee
expect { employee.reload }.to change(employee, :previously_force_updated?).from(true).to(false)
end
end

describe "ActiveRecord" do
context "[Bug fix] https://github.com/rails/rails/pull/38583 in Rails 5.x" do
it { expect { Employee.where(Arel.sql("name").eq("Tom")).except_bitemporal_default_scope.to_sql }.not_to raise_error }
end
end
end

0 comments on commit cef35a4

Please sign in to comment.