Sha256: c8a1a9bc4bdd1d294744d1a98644c957524379cabda67f2c1290e0ae8ddbfb80

Contents?: true

Size: 665 Bytes

Versions: 8

Compression:

Stored size: 665 Bytes

Contents

ENV['RAILS_ENV'] = 'test'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require "rails_app/config/environment"

require 'rspec'
require 'counter_culture'

load "#{File.dirname(__FILE__)}/schema.rb"

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Base.logger.level = 1

RSpec.configure do |config|
  config.fail_fast = true
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
counter_culture-1.1.0 spec/spec_helper.rb
counter_culture-1.0.0 spec/spec_helper.rb
counter_culture-0.2.3 spec/spec_helper.rb
counter_culture-0.2.2 spec/spec_helper.rb
counter_culture-0.2.1 spec/spec_helper.rb
counter_culture-0.2.0 spec/spec_helper.rb
counter_culture-0.1.34 spec/spec_helper.rb
counter_culture-0.1.33 spec/spec_helper.rb