diff --git a/features/step_definitions/noosfero_steps.rb b/features/step_definitions/noosfero_steps.rb index d0036f4..22376c5 100644 --- a/features/step_definitions/noosfero_steps.rb +++ b/features/step_definitions/noosfero_steps.rb @@ -1,4 +1,4 @@ -Given /^the following users$/ do |table| +Given /^the following users?$/ do |table| # table is a Cucumber::Ast::Table table.hashes.each do |item| person_data = item.dup @@ -7,7 +7,7 @@ Given /^the following users$/ do |table| end end -Given /^the following (communities|enterprises)$/ do |kind,table| +Given /^the following (community|communities|enterprises?)$/ do |kind,table| klass = kind.singularize.camelize.constantize table.hashes.each do |row| owner = row.delete("owner") -- libgit2 0.21.2