From 3d2c3878408bd27af64293a22eff6857ad9b38dd Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Mon, 30 Mar 2015 23:53:42 -0700 Subject: Move current user to the top of the list in author/assignee filters Closes #1321 --- features/steps/shared/project.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'features/steps/shared') diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb index 41f71ae29cb..b60ac5e3423 100644 --- a/features/steps/shared/project.rb +++ b/features/steps/shared/project.rb @@ -14,6 +14,13 @@ module SharedProject @project.team << [@user, :master] end + # Add another user to project "Shop" + step 'I add a user to project "Shop"' do + @project = Project.find_by(name: "Shop") + other_user = create(:user, name: 'Alpha') + @project.team << [other_user, :master] + end + # Create another specific project called "Forum" step 'I own project "Forum"' do @project = Project.find_by(name: "Forum") -- cgit v1.2.1