aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-02-24 22:12:20 -0600
committerJoe Sak <joe@joesak.com>2011-02-24 22:12:20 -0600
commit518ee00e0c5d7c8a18e1c58dc00f58d6974d9f06 (patch)
tree13426f9a9299b0191c96a5ff1273f4eb4f69b761 /spec/models
parent6a3cf5d6a695e9394a73bd429dbeae3787a3963e (diff)
downloadrefinerycms-blog-518ee00e0c5d7c8a18e1c58dc00f58d6974d9f06.tar.gz
refinerycms-blog-518ee00e0c5d7c8a18e1c58dc00f58d6974d9f06.tar.bz2
refinerycms-blog-518ee00e0c5d7c8a18e1c58dc00f58d6974d9f06.zip
WIP- just stuck on the uninitialized Constant weirdness
Diffstat (limited to 'spec/models')
-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