summaryrefslogtreecommitdiff
path: root/spec/features/projects/files/dockerfile_dropdown_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/files/dockerfile_dropdown_spec.rb')
-rw-r--r--spec/features/projects/files/dockerfile_dropdown_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/files/dockerfile_dropdown_spec.rb b/spec/features/projects/files/dockerfile_dropdown_spec.rb
index 3a0cc61d9c6..dd1635c900e 100644
--- a/spec/features/projects/files/dockerfile_dropdown_spec.rb
+++ b/spec/features/projects/files/dockerfile_dropdown_spec.rb
@@ -26,6 +26,6 @@ RSpec.describe 'Projects > Files > User wants to add a Dockerfile file', :js do
wait_for_requests
expect(page).to have_css('.dockerfile-selector .dropdown-toggle-text', text: 'Apply a template')
- expect(editor_get_value).to have_content('COPY ./ /usr/local/apache2/htdocs/')
+ expect(find('.monaco-editor')).to have_content('COPY ./ /usr/local/apache2/htdocs/')
end
end