aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/request/show.rhtml_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/views/request/show.rhtml_spec.rb b/spec/views/request/show.rhtml_spec.rb
index 54ce9c63a..ca4663afc 100644
--- a/spec/views/request/show.rhtml_spec.rb
+++ b/spec/views/request/show.rhtml_spec.rb
@@ -83,7 +83,8 @@ describe 'when viewing an information request' do
describe 'when there is a last response' do
- before do
+ before do
+ ActionController::Routing::Routes.filters.clear
@mock_response = mock_model(IncomingMessage)
@mock_request.stub!(:get_last_response).and_return(@mock_response)
end
@@ -99,6 +100,7 @@ describe 'when viewing an information request' do
describe 'when there is no last response' do
before do
+ ActionController::Routing::Routes.filters.clear
@mock_request.stub!(:get_last_response).and_return(nil)
end