Skip to content

Instantly share code, notes, and snippets.

@akasper
Created April 27, 2009 22:29
Show Gist options
  • Save akasper/102787 to your computer and use it in GitHub Desktop.
Save akasper/102787 to your computer and use it in GitHub Desktop.
Given /^(\d+) saved shoe(s)?$/ do |n, garbage|
(n.to_i).times { ShoeSubscription.generate!(:user => @current_user) }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment