Sha256: 93aaad50ed834ab542c02e872f623c99a7c6bbe763b3525aa6a3e0b2bf57e9c2

Contents?: true

Size: 279 Bytes

Versions: 7

Compression:

Stored size: 279 Bytes

Contents

class WickedControllerTestCase < ActionController::TestCase
  if ActionPack::VERSION::MAJOR < 5
    %w{get post put update}.each do |meth|
      define_method meth do |action, args={}|
        super(action, args[:params], args[:session], args[:flash])
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wicked-2.0.0 test/support/wicked_controller_test_case.rb
wicked-1.4.0 test/support/wicked_controller_test_case.rb
wicked-1.3.4 test/support/wicked_controller_test_case.rb
wicked-1.3.3 test/support/wicked_controller_test_case.rb
wicked-1.3.2 test/support/wicked_controller_test_case.rb
wicked-1.3.1 test/support/wicked_controller_test_case.rb
wicked-1.3.0 test/support/wicked_controller_test_case.rb