Skip to content
Snippets Groups Projects
Commit bffe090b authored by Jack Nagel's avatar Jack Nagel
Browse files

Don't test error message

Now that we are testing for a custom exception type, we don't need to
make any assertion about the message.
parent 9b5cb6cf
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,6 @@ class FormulaValidationTests < Test::Unit::TestCase
end
def test_empty_formula_invalid
e = assert_raises(FormulaSpecificationError) { formula {} }
assert_equal "formulae require at least a URL", e.message
assert_raises(FormulaSpecificationError) { formula {} }
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment