Sha256: f67f44ec8c1a9e54b1bc9717a8c25f22f4dcd72a279aae599ff5bcda5771b38c
Contents?: true
Size: 661 Bytes
Versions: 3
Compression:
Stored size: 661 Bytes
Contents
ENV["RAILS_ENV"] = "test" require "bundler/setup" require "rails" require "rails/railtie" require "action_controller/railtie" require "rspec/rails" require "tokens" module Tokens class Application < Rails::Application config.root = File.dirname(__FILE__) + "/.." config.active_support.deprecation = :log config.eager_load = true end end Tokens::Application.initialize! ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:" # Load database schema begin load File.dirname(__FILE__) + "/schema.rb" rescue Exception => e p e end require "support/models" RSpec.configure do |config| config.mock_with :rspec end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tokens-2.1.1 | spec/spec_helper.rb |
tokens-2.1.0 | spec/spec_helper.rb |
tokens-2.0.1 | spec/spec_helper.rb |