Skip to content

Commit

Permalink
Fix bad logic in Active Record version test in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nertzy committed Jul 8, 2013
1 parent 5c8e7e3 commit d0f7ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/pg_search/multisearch/rebuilder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def rebuild_pg_search_documents
# https://github.com/rails/rails/commit/17f5d8e062909f1fcae25351834d8e89967b645e
version_4_1_or_newer = (
ActiveRecord::VERSION::MAJOR > 4 ||
ActiveRecord::VERSION::MAJOR = 4 && ActiveRecord::VERSION::MINOR >= 1
(ActiveRecord::VERSION::MAJOR == 4 && ActiveRecord::VERSION::MINOR >= 1)
)

expected_timestamp =
Expand Down

0 comments on commit d0f7ee6

Please sign in to comment.