diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-02-12 11:37:55 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-02-12 11:37:55 -0800 |
commit | 5bb23d3cdc81beb4f150ac0eef61e533a30e20f0 (patch) | |
tree | 95c7d23b535dc352ea39bd1a4158d7529b31af96 /actionview | |
parent | b635eea70f8d13c555f529cef328aafabc4113d3 (diff) | |
download | rails-5bb23d3cdc81beb4f150ac0eef61e533a30e20f0.tar.gz rails-5bb23d3cdc81beb4f150ac0eef61e533a30e20f0.tar.bz2 rails-5bb23d3cdc81beb4f150ac0eef61e533a30e20f0.zip |
use assert_not_equal so there will be better error messages
in the case of failure it is nice to see what the two digests are.
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/test/template/digestor_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/digestor_test.rb b/actionview/test/template/digestor_test.rb index dde757b5a2..ca13568e3a 100644 --- a/actionview/test/template/digestor_test.rb +++ b/actionview/test/template/digestor_test.rb @@ -317,7 +317,7 @@ class TemplateDigestorTest < ActionView::TestCase yield - assert previous_digest != digest(template_name, options), "digest didn't change" + assert_not_equal previous_digest, digest(template_name, options), "digest didn't change" ActionView::Digestor.cache.clear end |