aboutsummaryrefslogtreecommitdiff
blob: 66eee68ce357f1e19716ccd5027dc7ee5168be25 (plain)
1
2
3
Given /^a category "([^\"]*)"$/ do |name|
  @category = Category.find_by_name(name) || Category.create!(:name => name)
end