diff options
Diffstat (limited to 'spec/controllers/reshares_controller_spec.rb')
-rw-r--r-- | spec/controllers/reshares_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/reshares_controller_spec.rb b/spec/controllers/reshares_controller_spec.rb index d266c4b71..3a31f424f 100644 --- a/spec/controllers/reshares_controller_spec.rb +++ b/spec/controllers/reshares_controller_spec.rb @@ -13,7 +13,7 @@ describe ResharesController, :type => :controller do it 'requires authentication' do post_request! - expect(response).not_to be_success + expect(response).not_to be_successful end context 'with an authenticated user' do @@ -23,7 +23,7 @@ describe ResharesController, :type => :controller do end it 'succeeds' do - expect(response).to be_success + expect(response).to be_successful post_request! end |