test/unit/peddler/errors/test_error.rb in peddler-1.6.4 vs test/unit/peddler/errors/test_error.rb in peddler-1.6.5
- old
+ new
@@ -19,6 +19,10 @@
def test_defines_common_errors
Peddler::Errors::CODES.each do |name|
assert ::Peddler::Errors.const_defined?(name)
end
end
+
+ def test_allows_nil_arguments
+ Peddler::Errors::Error.new
+ end
end