Fixed ambigious step match of core steps

pull/875/head
Sebastian Schuster 11 years ago
parent 9eec14dba1
commit 7ba7186bd0
  1. 2
      features/step_definitions/admin_steps.rb

@ -17,7 +17,7 @@ Then /^I should not see membership to the project "(.+)"$/ do |project|
end
end
Then /^I check the role "(.+)"$/ do |role|
Then /^I check the role "([^"]+)"$/ do |role|
role = Role.like(role).first
steps %Q{And I check "membership_role_ids_#{role.id}"}
end

Loading…
Cancel
Save