Skip to content

Instantly share code, notes, and snippets.

@domagude domagude/categories.rb
Last active Oct 20, 2017

Embed
What would you like to do?
FactoryGirl.define do
factory :category do
sequence(:name) { |n| "name#{n}" }
sequence(:branch) { |n| "branch#{n}" }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.