mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
fixing tests by using a Profile intance to avoid unrelated warning
This commit is contained in:
parent
b78126565c
commit
88eabdf6ac
@ -406,7 +406,7 @@ module ActionController
|
||||
end
|
||||
}.new
|
||||
assert_match /adapter: false/, (capture(:stderr) {
|
||||
controller.get_serializer(@profile)
|
||||
controller.get_serializer(Profile.new)
|
||||
})
|
||||
end
|
||||
|
||||
@ -417,7 +417,7 @@ module ActionController
|
||||
end
|
||||
}.new
|
||||
assert_equal "", (capture(:stderr) {
|
||||
controller.get_serializer(@profile)
|
||||
controller.get_serializer(Profile.new)
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user