Skip to content

Commit

Permalink
drop pre rails 6 test code
Browse files Browse the repository at this point in the history
  • Loading branch information
timdiggins committed Nov 10, 2024
1 parent e9bb64a commit 734878d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/union_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe ActiveRecord::Relation do
TIME = Time.utc(2014, 7, 19, 0, 0, 0)
SQL_TIME = ActiveRecord::VERSION::MAJOR >= 5 ? "2014-07-19 00:00:00" : "2014-07-19 00:00:00.000000"
SQL_TIME = "2014-07-19 00:00:00"

describe ".union" do
it "returns an ActiveRecord::Relation" do
Expand Down

0 comments on commit 734878d

Please sign in to comment.