diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-01 13:44:35 +0400 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-01 13:44:35 +0400 |
commit | 0e5c1a89f0b6ecf88fc340194d292fccbde99782 (patch) | |
tree | 62db4af97682b236746716718322dd81f1f23924 /spec/features/admin | |
parent | b7b823246602d6821f1773274ee6017c9f46e93f (diff) | |
download | gitlab-ce-0e5c1a89f0b6ecf88fc340194d292fccbde99782.tar.gz |
Fix spec/features/admin/admin_runners_spec.rb + test style improvements
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_runners_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/admin/admin_runners_spec.rb b/spec/features/admin/admin_runners_spec.rb index b0aa2e8b588..3465ccfc423 100644 --- a/spec/features/admin/admin_runners_spec.rb +++ b/spec/features/admin/admin_runners_spec.rb @@ -61,10 +61,10 @@ describe "Admin Runners" do end context 'group runner' do - it 'shows the label and does not show the project count' do - group = create :group - runner = create :ci_runner, groups: [group] + let(:group) { create(:group) } + let!(:runner) { create(:ci_runner, groups: [group], runner_type: :group_type) } + it 'shows the label and does not show the project count' do visit admin_runners_path within "#runner_#{runner.id}" do |