Permalink
Browse files

Just using `Exception` gives us the same coverage

  • Loading branch information...
1 parent 961ff56 commit 7b73c4b456723f7799e1c860b4565b71105751c4 @tnm tnm committed Dec 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/errors_test.rb
View
@@ -27,7 +27,7 @@ def test_rugged_error_classes_exist
# which descends from Exception
error_classes.each do |klass|
err = klass.new
- assert err.is_a?(StandardError) || err.is_a?(Exception)
+ assert err.is_a?(Exception)
end
end
end

0 comments on commit 7b73c4b

Please sign in to comment.