diff options
author | Brett Walker <brett@digitalmoksha.com> | 2017-09-14 17:18:32 +0300 |
---|---|---|
committer | Brett Walker <brett@digitalmoksha.com> | 2017-09-23 16:26:04 +0300 |
commit | a32f1dddf2ed65f3e61ded56256da2996d6442bd (patch) | |
tree | ff1b82df8738ed7c3ffa21086537bd7c44199ef8 /spec/controllers/profiles | |
parent | a000c2a1443beb7de0b5193f89916ccce57170c5 (diff) |
fixes for rubocop
Diffstat (limited to 'spec/controllers/profiles')
-rw-r--r-- | spec/controllers/profiles/emails_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/profiles/emails_controller_spec.rb b/spec/controllers/profiles/emails_controller_spec.rb index bdf040ba295..69b34db0c2e 100644 --- a/spec/controllers/profiles/emails_controller_spec.rb +++ b/spec/controllers/profiles/emails_controller_spec.rb @@ -8,7 +8,7 @@ describe Profiles::EmailsController do end describe '#create' do - let(:email_params) { {email: "add_email@example.com"} } + let(:email_params) { { email: "add_email@example.com" } } it 'sends an email confirmation' do expect {post(:create, { email: email_params })}.to change { ActionMailer::Base.deliveries.size } @@ -18,7 +18,7 @@ describe Profiles::EmailsController do end describe '#resend_confirmation_instructions' do - let(:email_params) { {email: "add_email@example.com"} } + let(:email_params) { { email: "add_email@example.com" } } it 'resends an email confirmation' do email = user.emails.create(email: 'add_email@example.com') |