Sha256: 6b0eb0476addc06e5374327f568a33e106d899ef9292b983156ee6f6e3f74946

Contents?: true

Size: 740 Bytes

Versions: 7

Compression:

Stored size: 740 Bytes

Contents

require 'rails'
require 'active_record'
require 'action_controller/railtie'
require 'action_view/railtie'
require 'haml'
require 'galakei/railtie'

# 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 { match ':controller(/:action(/:id))' }
class ApplicationController < ActionController::Base; end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
galakei-0.4.1 spec/acceptance/app/fake.rb
galakei-0.4.0 spec/acceptance/app/fake.rb
galakei-0.3.8 spec/acceptance/app/fake.rb
galakei-0.3.7 spec/acceptance/app/fake.rb
galakei-0.3.6 spec/acceptance/app/fake.rb
galakei-0.3.5 spec/acceptance/app/fake.rb
galakei-0.3.4 spec/acceptance/app/fake.rb