summaryrefslogtreecommitdiff
path: root/spec/controllers/profiles
diff options
context:
space:
mode:
authorBrett Walker <brett@digitalmoksha.com>2017-09-14 16:18:32 +0200
committerBrett Walker <brett@digitalmoksha.com>2017-09-23 15:26:04 +0200
commita32f1dddf2ed65f3e61ded56256da2996d6442bd (patch)
treeff1b82df8738ed7c3ffa21086537bd7c44199ef8 /spec/controllers/profiles
parenta000c2a1443beb7de0b5193f89916ccce57170c5 (diff)
downloadgitlab-ce-a32f1dddf2ed65f3e61ded56256da2996d6442bd.tar.gz
fixes for rubocop
Diffstat (limited to 'spec/controllers/profiles')
-rw-r--r--spec/controllers/profiles/emails_controller_spec.rb4
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')