Skip to content

Commit

Permalink
Set proper assertion to be sure the test failed
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanvlviv committed May 2, 2017
1 parent 0d35a60 commit f0b93d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/test/application/test_test.rb
Expand Up @@ -55,7 +55,7 @@ def test_truth
end
RUBY

assert_unsuccessful_run "unit/foo_test.rb", "Expected false to be truthy"
assert_unsuccessful_run "unit/foo_test.rb", "Failure:\nFooTest#test_truth"
end

test "integration test" do
Expand Down

0 comments on commit f0b93d1

Please sign in to comment.