aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-03-11 12:58:58 -0600
committerJoe Sak <joe@joesak.com>2011-03-11 12:58:58 -0600
commitac7a6f6636912635835ff73320ded4ad1cc73746 (patch)
tree42166d90ee393bc448cd93d3d4bf9bd892dc6f51 /spec
parentbd2802161ad8c7014a38ee5d0dbc52f515cd7011 (diff)
downloadrefinerycms-blog-ac7a6f6636912635835ff73320ded4ad1cc73746.tar.gz
refinerycms-blog-ac7a6f6636912635835ff73320ded4ad1cc73746.tar.bz2
refinerycms-blog-ac7a6f6636912635835ff73320ded4ad1cc73746.zip
Acts as taggable installed
Diffstat (limited to 'spec')
-rw-r--r--spec/models/blog_posts_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/blog_posts_spec.rb b/spec/models/blog_posts_spec.rb
index f83dc91..523ddf3 100644
--- a/spec/models/blog_posts_spec.rb
+++ b/spec/models/blog_posts_spec.rb
@@ -47,6 +47,12 @@ describe BlogPost do
end
end
+ describe "tags" do
+ it "acts as taggable" do
+ Factory(:post).should respond_to(:tag_list)
+ end
+ end
+
describe "authors" do
it "are authored" do
BlogPost.instance_methods.map(&:to_sym).include? :author