aboutsummaryrefslogtreecommitdiffstats
path: root/spec/requests/refinery/blog/admin/comments_spec.rb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-01-17 16:56:03 +1300
committerPhilip Arndt <parndt@gmail.com>2012-01-17 16:56:24 +1300
commitb1e4fd00943a160f3eb6ce242463c0cc07a406fc (patch)
tree07fb750aa580b63d39c23589997956bf3a03594d /spec/requests/refinery/blog/admin/comments_spec.rb
parentb3a25c1b686d205fc6b8b409a8f90059ae6b934d (diff)
downloadrefinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.tar.gz
refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.tar.bz2
refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.zip
Fixed namespacing for Refinery conventions.
Diffstat (limited to 'spec/requests/refinery/blog/admin/comments_spec.rb')
-rw-r--r--spec/requests/refinery/blog/admin/comments_spec.rb5
1 files changed, 0 insertions, 5 deletions
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"