aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/helpers/refinery/blog/controller_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/refinery/blog/controller_helper_spec.rb b/spec/helpers/refinery/blog/controller_helper_spec.rb
index 89eeaad..727e8b4 100644
--- a/spec/helpers/refinery/blog/controller_helper_spec.rb
+++ b/spec/helpers/refinery/blog/controller_helper_spec.rb
@@ -6,14 +6,14 @@ module Refinery
let(:tags) { helper.find_tags }
context "with draft posts" do
- let!(:blog_post) { FactoryGirl.create(:blog_post, :draft => true) }
+ let!(:blog_post) { FactoryGirl.create(:blog_post, :draft => true, :tag_list => "first, second" ) }
it "does not return tags" do
tags.should be_empty
end
end
context "with live posts" do
- let!(:blog_post) { FactoryGirl.create(:blog_post) }
+ let!(:blog_post) { FactoryGirl.create(:blog_post, :tag_list => "first, second" ) }
it "does not return tags" do
tags.should_not be_empty