aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-04 11:55:44 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-04 11:55:44 +1100
commit48974263f1b94374f392f2338b17e72cb8dc9ae7 (patch)
tree3c0166d219e9064642adaed5edce41e20036ff19
parentd9adfaab7bf42b87ead14fc289131078d0cd5b48 (diff)
Remove tests for partials being rendered. Was testing the implementation not the behaviour
-rw-r--r--spec/views/request/show.rhtml_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/views/request/show.rhtml_spec.rb b/spec/views/request/show.rhtml_spec.rb
index 9141a802b..98f829a14 100644
--- a/spec/views/request/show.rhtml_spec.rb
+++ b/spec/views/request/show.rhtml_spec.rb
@@ -30,16 +30,6 @@ describe 'when viewing an information request' do
render 'request/show'
end
- it 'should show the sidebar' do
- view.should_receive(:render_partial).with(:partial => 'sidebar', :locals => {})
- request_page
- end
-
- it 'should show the actions people can take' do
- view.should_receive(:render_partial).with(:partial => 'after_actions', :locals => {})
- request_page
- end
-
describe 'when a status update has been requested' do
before do