aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2012-12-12 17:21:14 +1100
committerHenare Degan <henare.degan@gmail.com>2012-12-12 17:21:14 +1100
commita1dd4d270a5ba763f4b88040b198b5ba2af0f31f (patch)
treee63b9a6e233e7939d054e8318c181a07f55a1b90
parentbb1a5e33f7fa925dbd09c18b09d63d0f43abf608 (diff)
view replaces template
-rw-r--r--spec/views/request/show.rhtml_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/views/request/show.rhtml_spec.rb b/spec/views/request/show.rhtml_spec.rb
index 9db7991e2..8bef29759 100644
--- a/spec/views/request/show.rhtml_spec.rb
+++ b/spec/views/request/show.rhtml_spec.rb
@@ -26,17 +26,17 @@ describe 'when viewing an information request' do
assign :info_request, @mock_request
assign :info_request_events, []
assign :status, @mock_request.calculate_status
- template.stub!(:render_partial)
+ view.stub!(:render_partial)
render 'request/show'
end
it 'should show the sidebar' do
- template.should_receive(:render_partial).with(:partial => 'sidebar', :locals => {})
+ view.should_receive(:render_partial).with(:partial => 'sidebar', :locals => {})
request_page
end
it 'should show the actions people can take' do
- template.should_receive(:render_partial).with(:partial => 'after_actions', :locals => {})
+ view.should_receive(:render_partial).with(:partial => 'after_actions', :locals => {})
request_page
end