Sha256: 48b9e8cfd63775d802fc68753f13715cb5b1003f085288185d7f63273fef9cdc

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration

lib = File.expand_path('../../lib', __FILE__)
support = File.expand_path('../support', __FILE__)
[lib, support].each { |path| $:.unshift(path) unless $:.include?(path) }
require 'pry'

require 'coveralls'
require 'simplecov'

SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
  add_filter '/spec/'
  add_group  'api_v1', 'bugherd_client/resources/v1'
  add_group  'api_v2', 'bugherd_client/resources/v2'
end

require 'bugherd_client'

RSpec.configure do |config|

  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # Use expext(...).to  syntax
  config.expect_with(:rspec) do |c|
    c.syntax = :expect
  end

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = :random
  Kernel.srand(config.seed)

  # Show the 10 slowest tests
  config.profile_examples = 10
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bugherd_client-0.0.10 spec/spec_helper.rb
bugherd_client-0.0.9 spec/spec_helper.rb