Commit 963c212b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

UserTeam spinach fixed

parent 496b7da7
......@@ -184,7 +184,7 @@ class Userteams < Spinach::FeatureSteps
And 'I select user "John" from list with role "Reporter"' do
user = User.find_by_name("John")
within "#team_members" do
select "#{user.name} (#{user.email})", from: "user_ids"
select "#{user.name} (#{user.username})", from: "user_ids"
select "Reporter", from: "default_project_access"
end
click_button "Add"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment