Skip to content

Commit

Permalink
We don't test against ActionPack 2.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Apr 11, 2012
1 parent c65e43a commit 5873502
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/support/model_builder.rb
Expand Up @@ -112,10 +112,6 @@ def build_response(opts = {}, &block)
@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
Expand Down

0 comments on commit 5873502

Please sign in to comment.