Skip to content

Instantly share code, notes, and snippets.

@johnivanoff
Created February 11, 2012 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnivanoff/1796557 to your computer and use it in GitHub Desktop.
Save johnivanoff/1796557 to your computer and use it in GitHub Desktop.
Given /^there are (\d+) locations$/ do |number|
number.to_i.times { |x| Factory(:location, :name => x+1) }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment