fixing tests by using a Profile intance to avoid unrelated warning

This commit is contained in:
João M. D. Moura 2015-07-31 03:28:50 -03:00
parent b78126565c
commit 88eabdf6ac

View File

@ -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