diff --git a/test/spec_showexceptions.rb b/test/spec_showexceptions.rb index a4ccef912..430c43a2c 100644 --- a/test/spec_showexceptions.rb +++ b/test/spec_showexceptions.rb @@ -92,7 +92,7 @@ def show_exceptions(app) [{ "HTTP_ACCEPT" => "text/foo" }, true], [{ "HTTP_ACCEPT" => "text/html" }, false] ].each do |env, expected| - assert_equal(expected, exc.prefers_plaintext?(env)) + expected.should.equal exc.prefers_plaintext?(env) end end end