Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-07-19 11:34:58 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-07-19 11:34:58 +0300
commitac4b954c5fabbfa98fb72d88526a30713a20af5d (patch)
treea1fccb6ca951e96374e54872b548f160decd034b /spec/features/users
parent416076610e7b1674669ad33bae604155f55a3d02 (diff)
Rename authentication activity observer methods
Diffstat (limited to 'spec/features/users')
-rw-r--r--spec/features/users/login_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/users/login_spec.rb b/spec/features/users/login_spec.rb
index 21891b9ccda..7a268c54de5 100644
--- a/spec/features/users/login_spec.rb
+++ b/spec/features/users/login_spec.rb
@@ -29,6 +29,7 @@ describe 'Login' do
User.delete_all
user = create(:admin, password_automatically_set: true)
+ expect(Gitlab::Auth::Activity).to increment(:user_authenticated_counter)
visit root_path
expect(current_path).to eq edit_user_password_path