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.
This commit is contained in:
Jack Nagel 2013-04-27 14:50:34 -05:00
parent 9b5cb6cfb6
commit bffe090b21

View File

@ -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