Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Commit

Permalink
♻️ Override assert_dom_equals on rails4.1 and 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sanemat committed Jan 8, 2017
1 parent 285e09d commit beb5fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_actionview-link_to_blank.rb
Expand Up @@ -385,7 +385,7 @@ def test_link_unless_current

private

if Gem::Version.new(ActionPack::VERSION::STRING) < Gem::Version.new("4")
if Gem::Version.new(ActionPack::VERSION::STRING) < Gem::Version.new("5")
# MiniTest does not have build_message method, so I copy from below:
# https://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/testing/assertions/dom.rb
# Test::Unit
Expand Down

0 comments on commit beb5fde

Please sign in to comment.