diff options
Diffstat (limited to 'spec/features/runners_spec.rb')
-rw-r--r-- | spec/features/runners_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/runners_spec.rb b/spec/features/runners_spec.rb index 452a5700e08..4df9109875e 100644 --- a/spec/features/runners_spec.rb +++ b/spec/features/runners_spec.rb @@ -49,6 +49,11 @@ RSpec.describe 'Runners', feature_category: :runner_fleet do it_behaves_like 'creates runner and shows register page' do let(:register_path_pattern) { register_project_runner_path(project, '.*') } end + + it 'shows the locked field' do + expect(page).to have_selector('input[type="checkbox"][name="locked"]') + expect(page).to have_content(_('Lock to current projects')) + end end end |