summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2016-12-06 15:42:11 +0100
committerAdam Niedzielski <adamsunday@gmail.com>2016-12-06 15:42:11 +0100
commit2b5a24a8a96bba788db202805cc4f4ec2d278a3f (patch)
tree6aa25e5c3a65830a00203df55a9de8e176a75ebe
parent532c031915597a660ab21de0cd11f8255e54c03d (diff)
downloadgitlab-ce-2b5a24a8a96bba788db202805cc4f4ec2d278a3f.tar.gz
Explain "js: true" in "deleted_source_branch_spec.rb" [ci skip]
-rw-r--r--spec/features/merge_requests/deleted_source_branch_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/features/merge_requests/deleted_source_branch_spec.rb b/spec/features/merge_requests/deleted_source_branch_spec.rb
index 778b3a90cf3..d5c9ed8a3b7 100644
--- a/spec/features/merge_requests/deleted_source_branch_spec.rb
+++ b/spec/features/merge_requests/deleted_source_branch_spec.rb
@@ -1,5 +1,8 @@
require 'spec_helper'
+# This test serves as a regression test for a bug that caused an error
+# message to be shown by JavaScript when the source branch was deleted.
+# Please do not remove "js: true".
describe 'Deleted source branch', feature: true, js: true do
let(:user) { create(:user) }
let(:merge_request) { create(:merge_request) }