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