mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Test::Schema exceptions should be Minitest::Assertions
This commit is contained in:
@@ -14,8 +14,8 @@ module ActiveModelSerializers
|
||||
assert(matcher.call, matcher.message)
|
||||
end
|
||||
|
||||
MissingSchema = Class.new(Errno::ENOENT)
|
||||
InvalidSchemaError = Class.new(StandardError)
|
||||
MissingSchema = Class.new(Minitest::Assertion)
|
||||
InvalidSchemaError = Class.new(Minitest::Assertion)
|
||||
|
||||
class AssertResponseSchema
|
||||
attr_reader :schema_path, :response, :message
|
||||
|
||||
Reference in New Issue
Block a user