Sha256: a74aac7dbb29ed23dab797bcacbb5b2c294fbdf40414553262c9a16afa7b930e

Contents?: true

Size: 744 Bytes

Versions: 2

Compression:

Stored size: 744 Bytes

Contents

# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}

RSpec.configure do |config|

  config.before(:each) do
    Cartoset::Config.destroy
  end

  config.after(:all) do
    Cartoset::Config.destroy
  end
  # == 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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cartoset-0.0.2 spec/spec_helper.rb
cartoset-0.0.1 spec/spec_helper.rb