Sha256: 2d40fc6d1366eb8f6968e0974f71a3ae664717270b9d8579d2c97012e659f90b
Contents?: true
Size: 666 Bytes
Versions: 2
Compression:
Stored size: 666 Bytes
Contents
require 'rails' require 'action_controller/railtie' require 'action_view/railtie' # config ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:') module FakeApp class Application < Rails::Application config.secret_token = 'Listen to your heart. Be brave. Do what you gotta do.' config.session_store :cookie_store, :key => 'session_store' config.active_support.deprecation = :log config.eager_load = false end end FakeApp::Application.initialize! %w[routes migrations].each do |file| require "fake_app/#{file}" end %w[presenters models controllers helpers].each do |file| require "fake_app/app/#{file}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
easy_presenter-1.1.1 | spec/fake_app/fake_app.rb |
easy_presenter-1.1.0 | spec/fake_app/fake_app.rb |