Sha256: f46d9b74a3eefb17c973ec2161f309cbe20008b794a80f37006b6175aeb3f1aa

Contents?: true

Size: 900 Bytes

Versions: 1

Compression:

Stored size: 900 Bytes

Contents

require 'coveralls'
Coveralls.wear!

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.7.2 spec/spec_helper.rb