Commit 84904a0e244366f38b0d61f5ec215141f5ec4dda

Authored by Victor Costa
1 parent 365042da

Fix 'I edit my profile' step definition

Store current user to use it later in 'I edit my profile'
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
features/step_definitions/noosfero_steps.rb
... ... @@ -293,6 +293,7 @@ Given /^I am logged in as "(.+)"$/ do |username|
293 293 When %{I press "Log in"}
294 294 And %{I go to #{username}'s control panel}
295 295 Then %{I should be on #{username}'s control panel}
  296 + @current_user = username
296 297 end
297 298  
298 299 Given /^"([^"]*)" is environment admin$/ do |person|
... ...