test/unit/assertions_tests.rb in assert-2.19.6 vs test/unit/assertions_tests.rb in assert-2.19.7
- old
+ new
@@ -63,13 +63,14 @@
assert_that(result).is_kind_of(Assert::Result::Ignore)
end
end
should "have a custom ignore message for each helper in the constant" do
- exp = Assert::Assertions::IGNORED_ASSERTION_HELPERS.map do |helper|
- "The assertion `#{helper}` is not supported."\
- " Please use another assertion or the basic `assert`."
- end
- assert_that(test_run_results.collect(&:message)).equals(exp)
+ exp =
+ Assert::Assertions::IGNORED_ASSERTION_HELPERS.map do |helper|
+ "The assertion `#{helper}` is not supported."\
+ " Please use another assertion or the basic `assert`."
+ end
+ assert_that(test_run_results.map(&:message)).equals(exp)
end
end
end