Sha256: 6910cca6cc9e5f96907ce266271b576f3ed6a41f2ca70353832c6eb78813a3a5

Contents?: true

Size: 622 Bytes

Versions: 2

Compression:

Stored size: 622 Bytes

Contents

# 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 'rspec' # Use the RSpec framework
require 'pp'    # Use pretty-print for debugging purposes

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

2 entries across 2 versions & 1 rubygems

Version Path
sequitur-0.1.20 spec/spec_helper.rb
sequitur-0.1.19 spec/spec_helper.rb