Sha256: 7db1769cac07021d079635c24e8f7f75e4e4541cbea78b76dc0015092c3b4c9a
Contents?: true
Size: 638 Bytes
Versions: 5
Compression:
Stored size: 638 Bytes
Contents
require 'test_helper' require "rails" require 'rack/test' module TestRailsAdapter include ::Rack::Test::Methods APP = Class.new(Rails::Application).tap do |app| app.config.secret_token = "3b7cd727ee24e8444053437c36cc66c4" app.config.session_store :cookie_store, :key => "_myapp_session" app.config.active_support.deprecation = :log app.routes.draw do match "/" => "rails_test/tests#index" match "/foo/:id" => "rails_test/tests#show", :as => 'foo' filter :uuid, :pagination ,:locale, :extension end app.initialize! end def app APP end def response last_response end end
Version data entries
5 entries across 5 versions & 4 rubygems