Sha256: 9b5cc937f244dbbc34347a13c0f4d059073e95d7890aa4fb00ff42e47dbdfedd

Contents?: true

Size: 547 Bytes

Versions: 8

Compression:

Stored size: 547 Bytes

Contents

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

require 'simplecov'

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

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

8 entries across 8 versions & 1 rubygems

Version Path
rley-0.6.00 examples/general/SRL/spec/spec_helper.rb
rley-0.5.14 examples/general/SRL/spec/spec_helper.rb
rley-0.5.13 examples/general/SRL/spec/spec_helper.rb
rley-0.5.12 examples/general/SRL/spec/spec_helper.rb
rley-0.5.11 examples/general/SRL/spec/spec_helper.rb
rley-0.5.10 examples/general/SRL/spec/spec_helper.rb
rley-0.5.09 examples/general/SRL/spec/spec_helper.rb
rley-0.5.08 examples/general/SRL/spec/spec_helper.rb