Suppress deprecation warning

> DEPRECATION WARNING: The success? predicate is deprecated and will
> be removed in Rails 6.0. Please use successful? as provided by
> Rack::Response::Helpers.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-04-20 17:57:11 +09:00
parent c56c5b7a8a
commit ca76a1e6f9

View File

@ -7,7 +7,7 @@ describe PollingController do
end
after do
response.should be_success
response.should be_successful
end
it 'may find nothing' do