Sha256: 37b7592ab4406e0ae0ec1dd5400da2bf2ec7f8d874b4a98a52db207300b38a30

Contents?: true

Size: 652 Bytes

Versions: 4

Compression:

Stored size: 652 Bytes

Contents

# frozen_string_literal: true

# File: spec_helper.rb
# Purpose: utility file that is loaded by all our RSpec files

require 'simplecov'
require 'coveralls'

Coveralls.wear!

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
  [
    SimpleCov::Formatter::HTMLFormatter,
    Coveralls::SimpleCov::Formatter
  ]
)

require 'pp'    # Use pretty-print for debugging purposes
require 'rspec' # Use the RSpec framework


RSpec.configure do |config|
  config.expect_with :rspec do |c|
    # Disable the `should` syntax...
    c.syntax = :expect
  end

  # Display stack trace in case of failure
  config.full_backtrace = true
end

# End of file

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rley-0.7.07 spec/spec_helper.rb
rley-0.7.06 spec/spec_helper.rb
rley-0.7.05 spec/spec_helper.rb
rley-0.7.04 spec/spec_helper.rb