UserTeam spinach fixed

5-0-stable
Dmitriy Zaporozhets 2013-03-13 22:30:33 +02:00
parent 496b7da7a0
commit 963c212b68
1 changed files with 1 additions and 1 deletions

View File

@ -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"