Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-04-08 01:07:52 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-04-08 01:07:52 +0300
commit7759049b1fb664dedaf726f9ac1d14a1f4527ce6 (patch)
tree8e047d1b8352d969990fe298a12dc4ab02a106e7 /spec
parent33a050d31cc657bdcc03e8cd971451b47bbadacf (diff)
parent667fa9afa29d60ec38dfb787ea207f2e44a38ee8 (diff)
Merge branch 'activity-feed-user-name' into 'master'
Put back usernames in activity and profile feed See merge request !10539
Diffstat (limited to 'spec')
-rw-r--r--spec/features/dashboard/project_member_activity_index_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/dashboard/project_member_activity_index_spec.rb b/spec/features/dashboard/project_member_activity_index_spec.rb
index d62839a09ef..49d93db58a9 100644
--- a/spec/features/dashboard/project_member_activity_index_spec.rb
+++ b/spec/features/dashboard/project_member_activity_index_spec.rb
@@ -21,20 +21,20 @@ feature 'Project member activity', feature: true, js: true do
context 'when a user joins the project' do
before { visit_activities_and_wait_with_event(Event::JOINED) }
- it { is_expected.to eq("joined project") }
+ it { is_expected.to eq("#{user.name} joined project") }
end
context 'when a user leaves the project' do
before { visit_activities_and_wait_with_event(Event::LEFT) }
- it { is_expected.to eq("left project") }
+ it { is_expected.to eq("#{user.name} left project") }
end
context 'when a users membership expires for the project' do
before { visit_activities_and_wait_with_event(Event::EXPIRED) }
it "presents the correct message" do
- message = "removed due to membership expiration from project"
+ message = "#{user.name} removed due to membership expiration from project"
is_expected.to eq(message)
end
end