From 175bf02a58ebd333849a968c0d9486657e78d49d Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 21 Nov 2015 18:15:08 -0500 Subject: [PATCH] settling argument between rubocop and hound --- spec/controllers/user_confirmation_controller_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/controllers/user_confirmation_controller_spec.rb b/spec/controllers/user_confirmation_controller_spec.rb index b2760b6..950a4ab 100644 --- a/spec/controllers/user_confirmation_controller_spec.rb +++ b/spec/controllers/user_confirmation_controller_spec.rb @@ -8,8 +8,8 @@ let(:context) { double(:context, success?: true) } before(:example) do - allow(ConfirmUserEmail).to receive(:call).with(arguments) - .and_return(context) + allow(ConfirmUserEmail).to receive(:call).with(arguments). + and_return(context) end context "when successful" do @@ -33,8 +33,8 @@ let(:context) { double(:context, success?: false) } before(:example) do - allow(ConfirmUserEmail).to receive(:call) - .and_return(context) + allow(ConfirmUserEmail).to receive(:call). + and_return(context) end it "redirects to root" do