From b1e4fd00943a160f3eb6ce242463c0cc07a406fc Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Tue, 17 Jan 2012 16:56:03 +1300 Subject: Fixed namespacing for Refinery conventions. --- spec/requests/refinery/blog/admin/comments_spec.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'spec/requests/refinery/blog/admin/comments_spec.rb') diff --git a/spec/requests/refinery/blog/admin/comments_spec.rb b/spec/requests/refinery/blog/admin/comments_spec.rb index b1a5afe..d56e1f1 100644 --- a/spec/requests/refinery/blog/admin/comments_spec.rb +++ b/spec/requests/refinery/blog/admin/comments_spec.rb @@ -19,7 +19,6 @@ module Refinery page.should have_content('there are no new comments') end end - context "when has new unapproved comments" do let!(:blog_comment) { FactoryGirl.create(:blog_comment) } before(:each) { visit refinery_blog_admin_comments_path } @@ -54,7 +53,6 @@ module Refinery page.should have_content('there are no approved comments') end end - context "when has approved comments" do let!(:blog_comment) do FactoryGirl.create(:blog_comment, @@ -86,7 +84,6 @@ module Refinery page.should have_content('there are no rejected comments') end end - context "when has rejected comments" do let!(:blog_comment) do FactoryGirl.create(:blog_comment, @@ -110,12 +107,10 @@ module Refinery describe "#show" do let!(:blog_comment) { FactoryGirl.create(:blog_comment) } before(:each) { visit refinery_blog_admin_comment_path(blog_comment) } - it "should display the comment" do page.should have_content(blog_comment.body) page.should have_content(blog_comment.name) end - it "should allow me to approve the comment" do click_link "Approve this comment" -- cgit v1.2.3