Skip to content

Commit

Permalink
Action View 4 compat in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jun 17, 2014
1 parent 3868ee2 commit ab7200e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/view_helpers/action_view_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'spec_helper'
require 'active_support/rescuable' # needed for Ruby 1.9.1
require 'action_controller'
require 'action_view'
require 'will_paginate/view_helpers/action_view'
require 'will_paginate/collection'

Expand Down Expand Up @@ -396,6 +397,7 @@ class IbocorpController < DummyController

class DummyRequest
attr_accessor :symbolized_path_parameters
alias :path_parameters :symbolized_path_parameters

def initialize
@get = true
Expand Down

0 comments on commit ab7200e

Please sign in to comment.