summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2015-12-23 12:07:37 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2015-12-23 12:07:37 +0000
commite1e39b61e52146a3796efa4c7a0a099b80e5c932 (patch)
tree9625720c196f69266a8be4864b8801418920afd7 /spec/features
parentc53742b14d1abb4557f037d16b282ee7d26d4677 (diff)
parent3e6950481a90a83f183397f11b8f2a5d21233cfb (diff)
downloadgitlab-ce-e1e39b61e52146a3796efa4c7a0a099b80e5c932.tar.gz
Merge branch 'fix/ci-runners-token-persistence' into 'master'
Fix method that ensures authentication token Until now, `ensure_#{token_filed_name}!` method didn't persist new token in database. This closes #4235. See merge request !2185
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/admin/admin_runners_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/admin/admin_runners_spec.rb b/spec/features/admin/admin_runners_spec.rb
index 66a2cc0c157..26d03944b8a 100644
--- a/spec/features/admin/admin_runners_spec.rb
+++ b/spec/features/admin/admin_runners_spec.rb
@@ -63,7 +63,7 @@ describe "Admin Runners" do
end
describe 'runners registration token' do
- let!(:token) { current_application_settings.ensure_runners_registration_token }
+ let!(:token) { current_application_settings.runners_registration_token }
before { visit admin_runners_path }
it 'has a registration token' do