Sha256: 6eedd248788138770222b62b868aae8b0b8f8f42ed9464a4713f1ac6728c270c
Contents?: true
Size: 773 Bytes
Versions: 1
Compression:
Stored size: 773 Bytes
Contents
# encoding: UTF-8 ENV["RAILS_ENV"] ||= "test" PROJECT_ROOT = File.expand_path("../..", __FILE__) $LOAD_PATH << File.join(PROJECT_ROOT, "lib") require 'rails/all' require 'rails/test_help' Bundler.require require 'diesel/testing' require 'rspec/rails' require 'factory_girl_rails' require 'timecop' require 'watchmaker' require 'simplecov' SimpleCov.start Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:") ActiveRecord::Base.silence do ActiveRecord::Migration.verbose = false load(File.dirname(__FILE__) + '/../db/schema.rb') end RSpec.configure do |config| config.use_transactional_fixtures = true config.backtrace_clean_patterns << %r{gems/} end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watchmaker-0.0.1 | spec/spec_helper.rb |