Sha256: 7c0f478b7b74a6010cc9124274dcf99b229b6f22a3dc99c070f3ef4fc37d1675
Contents?: true
Size: 832 Bytes
Versions: 3
Compression:
Stored size: 832 Bytes
Contents
require 'rails' require 'active_record' require 'action_controller/railtie' require 'action_view/railtie' require 'haml' require 'galakei/railtie' require 'galakei/engine' # database ActiveRecord::Base.configurations = {'test' => {:adapter => 'sqlite3', :database => ':memory:'}} ActiveRecord::Base.establish_connection('test') # config app = Class.new(Rails::Application) app.config.root = File.dirname(__FILE__) app.config.secret_token = "3b7cd727ee24e8444053437c36cc66c4" app.config.session_store :cookie_store, :key => "_myapp_session" app.config.active_support.deprecation = :log app.config.galakei.session_id_parameter = true app.initialize! app.routes.draw do match 'session_generation' => "sessions#session_generation" match ':controller(/:action(/:id))' end class ApplicationController < ActionController::Base; end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
galakei-0.6.2 | spec/app/fake.rb |
galakei-0.6.1 | spec/app/fake.rb |
galakei-0.6.0 | spec/app/fake.rb |