diff options
Diffstat (limited to 'spec/support/shared_examples/features/container_registry_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/features/container_registry_shared_examples.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/support/shared_examples/features/container_registry_shared_examples.rb b/spec/support/shared_examples/features/container_registry_shared_examples.rb new file mode 100644 index 00000000000..06b2b8c621c --- /dev/null +++ b/spec/support/shared_examples/features/container_registry_shared_examples.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +RSpec.shared_examples 'handling feature network errors with the container registry' do + it 'displays the error message' do + visit_container_registry + + expect(page).to have_content 'We are having trouble connecting to the Container Registry' + end +end |