Sha256: f5ba8effda266ba1c0b76381c73f1d835ae2fe6eada379bd37a6a55b600d32aa

Contents?: true

Size: 863 Bytes

Versions: 4

Compression:

Stored size: 863 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
sections_rails-0.7.1 spec/spec_helper.rb
sections_rails-0.7.0 spec/spec_helper.rb
sections_rails-0.6.12 spec/spec_helper.rb
sections_rails-0.6.11 spec/spec_helper.rb