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:
parent
9b5cb6cfb6
commit
bffe090b21
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user