summaryrefslogtreecommitdiff
path: root/spec/controllers/registrations_controller_spec.rb
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-05-06 17:59:45 -0300
committerFelipe Artur <felipefac@gmail.com>2016-05-16 14:56:32 -0300
commit7bb84e64979edda8e76f077bd58aeb35857aec23 (patch)
tree49af72a948475761144a1aa5c6f42b33debba813 /spec/controllers/registrations_controller_spec.rb
parent0baadd6cff63d5ac0048043381a0b7daff6e01c3 (diff)
downloadgitlab-ce-7bb84e64979edda8e76f077bd58aeb35857aec23.tar.gz
Change landing page when skipping confirmation email and add documentation
Diffstat (limited to 'spec/controllers/registrations_controller_spec.rb')
-rw-r--r--spec/controllers/registrations_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/registrations_controller_spec.rb b/spec/controllers/registrations_controller_spec.rb
index 29f1847d9a1..df70a589a89 100644
--- a/spec/controllers/registrations_controller_spec.rb
+++ b/spec/controllers/registrations_controller_spec.rb
@@ -16,7 +16,7 @@ describe RegistrationsController do
it 'logs user in directly' do
post(:create, user_params)
expect(ActionMailer::Base.deliveries.last).to be_nil
- expect(subject.current_user).to be
+ expect(subject.current_user).to_not be_nil
end
end