From 5e758de1a5c797cdf88c744623aa39252e20bea3 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sat, 5 Nov 2016 15:52:11 +0900 Subject: Show what was the error when assertion has failed this test case fails with ruby 2.4, so we want to see what's actually happening --- actionpack/test/controller/test_case_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb index 55ceced30c..05aa4ff6ad 100644 --- a/actionpack/test/controller/test_case_test.rb +++ b/actionpack/test/controller/test_case_test.rb @@ -385,7 +385,7 @@ XML $stderr = STDERR end - assert err.empty? + assert err.empty?, err.inspect end def test_assert_generates -- cgit v1.2.3