Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use deprecated success? predicate
See rspec/rspec-rails#2014 for details, fixes errors like Failure/Error: expect(response).to be_success expected #<ActionDispatch::TestResponse:0x0000560db29e9880 @mon_mutex=#<Thread::Mutex:0x0000560db29e9808>, @mo...ders:0x0000560db2cdf170 @Req=#<ActionController::TestRequest:0x0000560db29ea370 ...>>, @variant=[]>> to respond to `success?` # ./spec/controllers/people_controller_spec.rb:37:in `block (3 levels) in <main>' # ./spec/support/database_cleaner.rb:13:in `block (3 levels) in <main>' # ./spec/support/database_cleaner.rb:12:in `block (2 levels) in <main>'
- Loading branch information