summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-04-28 21:10:22 -0700
committerStan Hu <stanhu@gmail.com>2019-04-28 21:10:22 -0700
commit396a9bd96a08e28a593f467a57b0fa92a8bd9e1f (patch)
tree409c049b5e4447022451de878c71b01313d463f5
parent536d96a3e02daceca8398745cd27ab1e0f56711d (diff)
downloadgitlab-ce-sh-remove-stray-go-button-ci.tar.gz
Remove stray "Go" button that only appears in CIsh-remove-stray-go-button-ci
This was added years ago, but our tests shouldn't depend on some random button that only shows up in CI.
-rw-r--r--app/views/layouts/_search.html.haml1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/layouts/_search.html.haml b/app/views/layouts/_search.html.haml
index a6023a1cbb9..58c2826f651 100644
--- a/app/views/layouts/_search.html.haml
+++ b/app/views/layouts/_search.html.haml
@@ -45,5 +45,4 @@
- if @snippet || @snippets
= hidden_field_tag :snippets, true
= hidden_field_tag :repository_ref, @ref
- = button_tag 'Go' if ENV['RAILS_ENV'] == 'test'
.search-autocomplete-opts.hide{ :'data-autocomplete-path' => search_autocomplete_path, :'data-autocomplete-project-id' => @project.try(:id), :'data-autocomplete-project-ref' => @ref }