UserTeam spinach fixed

This commit is contained in:
Dmitriy Zaporozhets 2013-03-13 22:30:33 +02:00
parent 496b7da7a0
commit 963c212b68

View file

@ -184,7 +184,7 @@ class Userteams < Spinach::FeatureSteps
And 'I select user "John" from list with role "Reporter"' do And 'I select user "John" from list with role "Reporter"' do
user = User.find_by_name("John") user = User.find_by_name("John")
within "#team_members" do 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" select "Reporter", from: "default_project_access"
end end
click_button "Add" click_button "Add"