Sha256: f3cd02cd42931160e987de40a5b3b4a8089c5b9c8fb1b624b0a702da793e0481

Contents?: true

Size: 952 Bytes

Versions: 1

Compression:

Stored size: 952 Bytes

Contents

if ENV['COVERALLS_CONFIG'] != 'nocoveralls'
  require 'coveralls'
  Coveralls.wear!
end

require 'rubygems'
require 'bundler/setup'
require 'rails'
require File.expand_path("../dummy/config/environment.rb",  __FILE__)

require 'rspec'
require 'rspec/rails'
require 'sections_rails'

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
#Rails = Hashie::Mash.new({:env => 'test'})

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


RSpec.configure do |config|
  # == Mock Framework
  #
  # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
  #
  # config.mock_with :mocha
  # config.mock_with :flexmock
  # config.mock_with :rr
  config.mock_with :rspec

  # If you're not using ActiveRecord, or you'd prefer not to run each of your
  # examples within a transaction, remove the following line or assign false
  # instead of true.
#  config.use_transactional_fixtures = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sections_rails-0.8.0 spec/spec_helper.rb