Sha256: 1f642b25e23b4efbbdad0d376edaa6aca86aeee7c2f646c25817fc68ba6e7c33
Contents?: true
Size: 720 Bytes
Versions: 6
Compression:
Stored size: 720 Bytes
Contents
require 'spec_helper' require File.expand_path('../dummy/config/environment.rb', __FILE__) ActiveRecord::Migrator.migrations_paths = [ File.expand_path( '../../test/dummy/db/migrate', __FILE__ ) ] ActiveRecord::Migrator.migrations_paths << File.expand_path( '../../db/migrate', __FILE__ ) require 'rspec/rails' # So we can access the Engine class and its path helpers $LOAD_PATH.unshift File.dirname(File.expand_path(__FILE__)) + '/../lib' RSpec.configure do |config| config.infer_spec_type_from_file_location! end # Travis fails to find Redis without this, although it works locally. # No idea why. Resque.redis = Redis.new( hostname: '127.0.0.1', port: RedisInstance.port, thread_safe: true )
Version data entries
6 entries across 6 versions & 1 rubygems