Permalink
Browse files

Use ActionDispatch::TestRequest i.o. ActionController::TestRequest

  • Loading branch information...
1 parent 7a5f1da commit 4f0453f5387909a7dfbcd5ace4524ab96a003fbc @jomz jomz committed Feb 13, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/models/page_spec.rb
@@ -767,8 +767,8 @@ class ::CustomFileNotFoundPage < FileNotFoundPage
describe Page, "processing" do
before :all do
- @request = ActionController::TestRequest.new :url => '/page/'
- @response = ActionController::TestResponse.new
+ @request = ActionDispatch::TestRequest.new :url => '/page/'
+ @response = ActionDispatch::TestResponse.new
@page = FactoryGirl.build(:page) do |page|
page.parts.build(:name => 'body', :content => 'Hello world!')
end

0 comments on commit 4f0453f

Please sign in to comment.