diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-02-18 16:37:41 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-02-20 12:12:05 -0200 |
commit | 8673a70f500ae5b0e93336f9213947f0aba67033 (patch) | |
tree | 847605a19c9d8415a5da16faf0d02c73acf9e4f3 /features/steps | |
parent | a74a69db689b7e36c0e275a1094b1ad757bd6e86 (diff) | |
download | gitlab-ce-8673a70f500ae5b0e93336f9213947f0aba67033.tar.gz |
Improve formatted message for tasks when action is a mention
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/dashboard/task_queue.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/dashboard/task_queue.rb b/features/steps/dashboard/task_queue.rb index 53920f585dc..6ff0aff6c21 100644 --- a/features/steps/dashboard/task_queue.rb +++ b/features/steps/dashboard/task_queue.rb @@ -31,9 +31,9 @@ class Spinach::Features::DashboardTaskQueue < Spinach::FeatureSteps expect(page).to have_link project.name_with_namespace should_see_task(1, "John Doe assigned merge request ##{merge_request.iid}", merge_request.title) - should_see_task(2, "John Doe mentioned on issue ##{issue.iid}", "#{current_user.to_reference} Wdyt?") + should_see_task(2, "John Doe mentioned you on issue ##{issue.iid}", "#{current_user.to_reference} Wdyt?") should_see_task(3, "John Doe assigned issue ##{issue.iid}", issue.title) - should_see_task(4, "Mary Jane mentioned on issue ##{issue.iid}", issue.title) + should_see_task(4, "Mary Jane mentioned you on issue ##{issue.iid}", issue.title) end step 'I mark the pending task as done' do @@ -77,7 +77,7 @@ class Spinach::Features::DashboardTaskQueue < Spinach::FeatureSteps end step 'I should not see tasks related to "Mary Jane" in the list' do - should_not_see_task "Mary Jane mentioned on issue ##{issue.iid}" + should_not_see_task "Mary Jane mentioned you on issue ##{issue.iid}" end step 'I should not see tasks related to "Merge Requests" in the list' do |