diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-28 20:49:41 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-31 13:58:52 -0300 |
commit | 5294ad82c6096edba06f4111325d6b0e6845d9f0 (patch) | |
tree | cec386a00a691b26906ce4e335f49da26ecf6938 /actionpack/lib | |
parent | 6c0013f7cda487de101d47376b9f1355ff1ef095 (diff) | |
download | rails-5294ad82c6096edba06f4111325d6b0e6845d9f0.tar.gz rails-5294ad82c6096edba06f4111325d6b0e6845d9f0.tar.bz2 rails-5294ad82c6096edba06f4111325d6b0e6845d9f0.zip |
Alias refute methods to assert_not and perfer assert_not on tests
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/dom.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/dom.rb b/actionpack/lib/action_dispatch/testing/assertions/dom.rb index 6c61d4e61a..8f90a1223e 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/dom.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/dom.rb @@ -20,7 +20,7 @@ module ActionDispatch def assert_dom_not_equal(expected, actual, message = "") expected_dom = HTML::Document.new(expected).root actual_dom = HTML::Document.new(actual).root - refute_equal expected_dom, actual_dom + assert_not_equal expected_dom, actual_dom end end end |