spec/controllers/apis_controller_spec.rb in clearance-1.4.3 vs spec/controllers/apis_controller_spec.rb in clearance-1.5.0

- old
+ new

@@ -23,8 +23,8 @@ Rails.application.reload_routes! end it 'responds with HTTP status code 401 when denied' do get :show, format: :js - subject.should respond_with(:unauthorized) + expect(subject).to respond_with(:unauthorized) end end