aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-10-09 18:15:06 +0100
committerLouise Crow <louise.crow@gmail.com>2012-10-09 18:15:06 +0100
commit211fe84dc40d97df8aa8724906d9170ed4f78477 (patch)
tree30f5face0950bc7cceea1d2d3d01a43bd4e1a044 /spec/controllers/request_controller_spec.rb
parent54281fd50c3271835a54ab4bc08d40da09d643ee (diff)
Revert "Merge remote-tracking branch 'henare_github/patch-1'"
Mistakenly merged into master. Please note that we'll want to merge this work into master on the next release, at which point we'll want to revert this reversion in order that the changes are properly re-applied. This reverts commit 54281fd50c3271835a54ab4bc08d40da09d643ee, reversing changes made to 793ca358c37458e6cc4385d2366621aaee93a25e.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index 77f43b618..95737a250 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -238,22 +238,6 @@ describe RequestController, "when showing one request" do
response.should have_tag('div#owner_actions')
end
- describe 'when the request does allow comments' do
- it 'should have a comment link' do
- get :show, { :url_title => 'why_do_you_have_such_a_fancy_dog' },
- { :user_id => users(:admin_user).id }
- response.should have_tag('#anyone_actions', /Add an annotation/)
- end
- end
-
- describe 'when the request does not allow comments' do
- it 'should not have a comment link' do
- get :show, { :url_title => 'spam_1' },
- { :user_id => users(:admin_user).id }
- response.should_not have_tag('#anyone_actions', /Add an annotation/)
- end
- end
-
describe 'when the request is being viewed by an admin' do
describe 'if the request is awaiting description' do