aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories/blog_categories.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/blog_categories.rb')
-rw-r--r--spec/factories/blog_categories.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/factories/blog_categories.rb b/spec/factories/blog_categories.rb
new file mode 100644
index 0000000..c3701dd
--- /dev/null
+++ b/spec/factories/blog_categories.rb
@@ -0,0 +1,3 @@
+Factory.define :blog_category, :class => 'refinery/blog_category' do |f|
+ f.sequence(:title) { |n| "Shopping #{n}" }
+end