aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models')
-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 9a58e3f..6b5edcb 100644
--- a/spec/models/blog_posts_spec.rb
+++ b/spec/models/blog_posts_spec.rb
@@ -46,6 +46,12 @@ describe BlogPost do
@blog_post.should respond_to(:categories)
end
end
+
+ describe "authors" do
+ it "are authored" do
+ BlogPost.new.methods.should include(:author)
+ end
+ end
describe "by_archive scope" do
it "returns all posts from specified month" do