Sha256: d5ceaab6e6ab4bde8c1e6826d55409e608e8864651ca94af2edd951a2b41b394
Contents?: true
Size: 672 Bytes
Versions: 2
Compression:
Stored size: 672 Bytes
Contents
if ENV['COVERAGE'] || ENV['TRAVIS'] begin require 'simplecov' SimpleCov.start do add_filter "/spec/" end if ENV['TRAVIS'] require 'coveralls' Coveralls.wear! end rescue LoadError warn "Could not load simplecov: #{$!}" end end require "bundler/setup" require "teapot" RSpec.shared_context Teapot::Context do let(:root) {Build::Files::Path[__dir__] + 'context'} let(:context) {Teapot::Context.new(root, load_root: false)} end RSpec.configure do |config| # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = ".rspec_status" config.expect_with :rspec do |c| c.syntax = :expect end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
teapot-2.0.0 | spec/spec_helper.rb |
teapot-2.0.0.pre.rc3 | spec/spec_helper.rb |