Sha256: d8074a7e9eade07ddd44a2708ca38f3b763ba0554861108e06d0d74ccaafdf92

Contents?: true

Size: 415 Bytes

Versions: 4

Compression:

Stored size: 415 Bytes

Contents

require 'bundler/setup'
require 'minitest/autorun'
require 'action_controller'
require 'action_controller/page_caching'

SharedTestRoutes = ActionDispatch::Routing::RouteSet.new

module ActionController
  class Base
    include SharedTestRoutes.url_helpers
  end

  class TestCase
    def setup
      @routes = SharedTestRoutes

      @routes.draw do
        get ':controller(/:action)'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/actionpack-page_caching-1.0.2/test/abstract_unit.rb
actionpack-page_caching-1.0.2 test/abstract_unit.rb
actionpack-page_caching-1.0.1 test/abstract_unit.rb
actionpack-page_caching-1.0.0 test/abstract_unit.rb