Sha256: fada002bc95a38dec575360fb1d27c6c30ea57d165c61bd998a8c45bb540aa96

Contents?: true

Size: 822 Bytes

Versions: 4

Compression:

Stored size: 822 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../dummy/config/environment", __FILE__)
require 'rspec/rails'

require 'coveralls'
Coveralls.wear!

# 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|
  # rspec-rails 3 will no longer automatically infer an example group's spec type
  # from the file location. You can explicitly opt-in to the feature using this
  # config option.
  # To explicitly tag specs without using automatic inference, set the `:type`
  # metadata manually:
  #
  #     describe ThingsController, :type => :controller do
  #       # Equivalent to being in spec/controllers
  #     end
  config.infer_spec_type_from_file_location!
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
breadcrumble-5.0.0 spec/spec_helper.rb
breadcrumble-4.2.1 spec/spec_helper.rb
breadcrumble-4.2.0 spec/spec_helper.rb
breadcrumble-4.1.0 spec/spec_helper.rb