Commit 963c212b68393cc52959e40fcce672ecd66f303a
1 parent
496b7da7
Exists in
master
and in
4 other branches
UserTeam spinach fixed
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
features/steps/userteams/userteams.rb
... | ... | @@ -184,7 +184,7 @@ class Userteams < Spinach::FeatureSteps |
184 | 184 | And 'I select user "John" from list with role "Reporter"' do |
185 | 185 | user = User.find_by_name("John") |
186 | 186 | within "#team_members" do |
187 | - select "#{user.name} (#{user.email})", from: "user_ids" | |
187 | + select "#{user.name} (#{user.username})", from: "user_ids" | |
188 | 188 | select "Reporter", from: "default_project_access" |
189 | 189 | end |
190 | 190 | click_button "Add" | ... | ... |