diff options
Diffstat (limited to 'spec/models/refinery/blog/post_spec.rb')
-rw-r--r-- | spec/models/refinery/blog/post_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/models/refinery/blog/post_spec.rb b/spec/models/refinery/blog/post_spec.rb index 99946b8..73668e4 100644 --- a/spec/models/refinery/blog/post_spec.rb +++ b/spec/models/refinery/blog/post_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' module Refinery module Blog - describe Post do + describe Post, type: :model do let(:post) { FactoryGirl.create(:blog_post) } describe "validations" do @@ -159,7 +159,7 @@ module Refinery end it "should be true" do - described_class.comments_allowed?.should be_true + described_class.comments_allowed?.should be_truthy end end @@ -169,7 +169,7 @@ module Refinery end it "should be false" do - described_class.comments_allowed?.should be_false + described_class.comments_allowed?.should be_falsey end end end @@ -187,7 +187,7 @@ module Refinery end it "should be true" do - described_class.teasers_enabled?.should be_true + described_class.teasers_enabled?.should be_truthy end end @@ -197,7 +197,7 @@ module Refinery end it "should be false" do - described_class.teasers_enabled?.should be_false + described_class.teasers_enabled?.should be_falsey end end end |