aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views/request/_after_actions.rhtml_spec.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-09-15 11:59:58 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-09-15 12:07:04 +0100
commit9aaf2baf65cedabd5f0ca7b5d91a77c47a25b11b (patch)
treee4ff702f290edbbc153f20c4d3d306a23e8cd152 /spec/views/request/_after_actions.rhtml_spec.rb
parentcb4eea88d6d7a7c74daaa594c2b677b5f209a3b8 (diff)
Fix test failures resulting from commit 0f0854cd60aebde1b4a69e455ee40686c4ab0353
Diffstat (limited to 'spec/views/request/_after_actions.rhtml_spec.rb')
-rw-r--r--spec/views/request/_after_actions.rhtml_spec.rb27
1 files changed, 1 insertions, 26 deletions
diff --git a/spec/views/request/_after_actions.rhtml_spec.rb b/spec/views/request/_after_actions.rhtml_spec.rb
index a92ef2dda..c73f35d33 100644
--- a/spec/views/request/_after_actions.rhtml_spec.rb
+++ b/spec/views/request/_after_actions.rhtml_spec.rb
@@ -79,30 +79,5 @@ describe 'when displaying actions that can be taken with regard to a request' do
it 'should display a link for the request owner to request a review' do
expect_owner_link('Request an internal review')
end
-
- describe 'when there is no last response' do
-
- before do
- assigns[:last_response] = nil
- end
-
- it 'should display a link for the request owner to send a follow up' do
- expect_owner_link('Send follow up to test public body')
- end
-
- end
-
- describe 'when there is a last response' do
- before do
- assigns[:last_response] = mock_model(IncomingMessage,
- :valid_to_reply_to? => false)
- end
-
- it 'should display a link for the request owner to reply to the last response' do
- expect_owner_link('Reply to test public body')
- end
-
- end
-
-end \ No newline at end of file
+end