summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/quick_actions/commit
diff options
context:
space:
mode:
author🙈 jacopo beschi 🙉 <intrip@gmail.com>2019-07-29 22:35:29 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-07-29 22:35:29 +0000
commitc96e1257006fc0c7309bd7757bd2c53444d7d3af (patch)
tree28474e62c98b10f89ed5b223799aef1058023936 /spec/support/shared_examples/quick_actions/commit
parent8b9ad9c6cc922bc518cdf201501330e83960353a (diff)
downloadgitlab-ce-c96e1257006fc0c7309bd7757bd2c53444d7d3af.tar.gz
Make quick action "commands applied" banner more useful
Extends the quick actions "commands applied" banner to show the quick action preview text, but with everything in past tense.
Diffstat (limited to 'spec/support/shared_examples/quick_actions/commit')
-rw-r--r--spec/support/shared_examples/quick_actions/commit/tag_quick_action_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_examples/quick_actions/commit/tag_quick_action_shared_examples.rb b/spec/support/shared_examples/quick_actions/commit/tag_quick_action_shared_examples.rb
index b337a1c18d8..f5a86e4dc2c 100644
--- a/spec/support/shared_examples/quick_actions/commit/tag_quick_action_shared_examples.rb
+++ b/spec/support/shared_examples/quick_actions/commit/tag_quick_action_shared_examples.rb
@@ -5,7 +5,7 @@ shared_examples 'tag quick action' do
it 'tags this commit' do
add_note("/tag #{tag_name} #{tag_message}")
- expect(page).to have_content 'Commands applied'
+ expect(page).to have_content %{Tagged this commit to #{tag_name} with "#{tag_message}".}
expect(page).to have_content "tagged commit #{truncated_commit_sha}"
expect(page).to have_content tag_name