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