aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/refinery/blog/comment_spec.rb
diff options
context:
space:
mode:
authorPhilip Arndt <git@arndt.io>2014-12-04 08:50:09 -0800
committerPhilip Arndt <git@arndt.io>2014-12-04 13:44:21 -0800
commit494e38d2f14cd3549d10bafd382d1ab71e5266d1 (patch)
treefecd13cb9daa9edb96623f5d6357def1b7c8417c /spec/models/refinery/blog/comment_spec.rb
parent1cec6e540daa2a5971290dc33bae77ed35f5429a (diff)
downloadrefinerycms-blog-494e38d2f14cd3549d10bafd382d1ab71e5266d1.tar.gz
refinerycms-blog-494e38d2f14cd3549d10bafd382d1ab71e5266d1.tar.bz2
refinerycms-blog-494e38d2f14cd3549d10bafd382d1ab71e5266d1.zip
Upgraded to rspec 3.x
Diffstat (limited to 'spec/models/refinery/blog/comment_spec.rb')
-rw-r--r--spec/models/refinery/blog/comment_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/refinery/blog/comment_spec.rb b/spec/models/refinery/blog/comment_spec.rb
index 7a35a59..69430ac 100644
--- a/spec/models/refinery/blog/comment_spec.rb
+++ b/spec/models/refinery/blog/comment_spec.rb
@@ -7,11 +7,11 @@ module Refinery
let(:comment) { FactoryGirl.create(:blog_comment) }
it "saves" do
- comment.should_not be_nil
+ expect(comment).not_to be_nil
end
it "has a blog post" do
- comment.post.should_not be_nil
+ expect(comment.post).not_to be_nil
end
end
end