Sha256: be6cbef62486f1f003324814443fd1c8289afdc7f795dac6197b1a8637017737

Contents?: true

Size: 981 Bytes

Versions: 6

Compression:

Stored size: 981 Bytes

Contents

# This file is copied to ~/spec when you run 'ruby script/generate rspec'
# from the project root directory.
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path(File.dirname(__FILE__) + "/../config/environment") #nf patching generated spec_helper
#require File.dirname(__FILE__) + "/../config/environment" unless defined?(Rails)
require 'rspec/rails'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
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'd prefer not to run each of your examples within a transaction,
  # uncomment the following line.
  # config.use_transactional_examples = false
  config.use_transactional_examples = true
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inkling-0.0.8 spec/spec_helper.rb
inkling-0.0.7 spec/spec_helper.rb
inkling-0.0.5 spec/spec_helper.rb
inkling-0.0.4 spec/spec_helper.rb
inkling-0.0.3a spec/spec_helper.rb
inkling-0.0.3 spec/spec_helper.rb