summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-06-08 12:53:40 +0100
committerPhil Hughes <me@iamphill.com>2016-06-18 21:49:20 +0100
commited0f26c223b5182fa2cb7a54bfd8ce155948deb2 (patch)
tree21086559ecc884a03d463eb904309a332fa2e677 /features
parentd2362e2edf2b23318c6913535fe0ec3ea122d57e (diff)
downloadgitlab-ce-ed0f26c223b5182fa2cb7a54bfd8ce155948deb2.tar.gz
Escapes branch names before appending to dom
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/source/browse_files.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index 1c2567dae73..0fe046dcbf6 100644
--- a/features/steps/project/source/browse_files.rb
+++ b/features/steps/project/source/browse_files.rb
@@ -306,7 +306,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
step "I see the ref 'test' has been selected" do
- expect(page).to have_selector '.dropdown-toggle', text: "'test'"
+ expect(page).to have_selector '.dropdown-toggle-text', text: "'test'"
end
step "I visit the 'test' tree" do