Sha256: acfdfd30f5c6dc75c646d9e9b2209820acbea88619a122e073ff7308ee84a157

Contents?: true

Size: 600 Bytes

Versions: 5

Compression:

Stored size: 600 Bytes

Contents

dir = File.dirname(File.expand_path(__FILE__))
$LOAD_PATH.unshift dir + '/../lib'

# Configure Rails Environment
ENV["RAILS_ENV"] ||= 'test'

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require 'seymour'
require 'seymour/engine'

require 'rspec/rails'
require "ammeter/init"
require 'factory_girl_rails'

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.mock_with :rspec
  config.use_transactional_fixtures = false
end

Rails.backtrace_cleaner.remove_silencers!
TestRedis::Server.start!(dir)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
seymour-0.0.9 spec/spec_helper.rb
seymour-0.0.8 spec/spec_helper.rb
seymour-0.0.7 spec/spec_helper.rb
seymour-0.0.6 spec/spec_helper.rb
seymour-0.0.5 spec/spec_helper.rb