From 5873502d0b978e799517c31c7af0eb1489a39f1c Mon Sep 17 00:00:00 2001 From: Gabe Berke-Williams Date: Tue, 10 Apr 2012 00:01:47 -0400 Subject: [PATCH] We don't test against ActionPack 2.x. --- spec/support/model_builder.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/support/model_builder.rb b/spec/support/model_builder.rb index c3cda02b..de4e51f3 100644 --- a/spec/support/model_builder.rb +++ b/spec/support/model_builder.rb @@ -112,10 +112,6 @@ module ModelBuilder @controller = klass.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new - if ActionPack::VERSION::MAJOR < 3 - @controller.send :assign_shortcuts, @request, @response - @controller.send :initialize_template_class, @response - end class << self include ActionController::TestCase::Behavior