test/unit/peddler/errors/test_error.rb in peddler-1.5.0 vs test/unit/peddler/errors/test_error.rb in peddler-1.6.0
- old
+ new
@@ -13,10 +13,10 @@
def test_sets_cause
assert_equal 'cause', @error.cause
end
def test_defines_common_errors
- Peddler::Errors::KNOWN.each do |name|
+ Peddler::Errors::CODES.each do |name|
assert ::Peddler::Errors.const_defined?(name)
end
end
end