aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/blog_posts_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/blog_posts_spec.rb')
-rw-r--r--spec/models/blog_posts_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/blog_posts_spec.rb b/spec/models/blog_posts_spec.rb
index 6b5edcb..ef1cbf8 100644
--- a/spec/models/blog_posts_spec.rb
+++ b/spec/models/blog_posts_spec.rb
@@ -49,7 +49,7 @@ describe BlogPost do
describe "authors" do
it "are authored" do
- BlogPost.new.methods.should include(:author)
+ BlogPost.instance_methods.map(&:to_sym).include? :author
end
end