Sha256: 25e9d497dc70abfe498fc78c10615d545d12fcf351c9c13979bebda03dd71eae
Contents?: true
Size: 709 Bytes
Versions: 3
Compression:
Stored size: 709 Bytes
Contents
ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../dummy/config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'generator_spec/test_case' require 'timecop' ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../') puts "====> Rails version: #{Rails.version}" puts "====> Ruby version: #{RUBY_VERSION}" # load schema to in memory sqlite ActiveRecord::Migration.verbose = false load Rails.root + "db/schema.rb" Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.infer_base_class_for_anonymous_controllers = false config.before do Doorkeeper.configure {} end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper-0.4.2 | spec/spec_helper_integration.rb |
doorkeeper-0.4.1 | spec/spec_helper_integration.rb |
doorkeeper-0.4.0 | spec/spec_helper_integration.rb |