Sha256: 47066c2d038f848e8dbf4d60b42beb51e35f9964591b62294631b7b5a7b66c7c
Contents?: true
Size: 812 Bytes
Versions: 3
Compression:
Stored size: 812 Bytes
Contents
# frozen_string_literal: true if ENV['COVERAGE'] || ENV['TRAVIS'] require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ]) SimpleCov.start do command_name 'spec' add_filter 'spec' end end require "bundler/setup" require "strings" module Helpers def unindent(text) text.gsub(/^[ \t]*/, '').chomp end end RSpec.configure do |config| config.include(Helpers) # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = ".rspec_status" # Disable RSpec exposing methods globally on `Module` and `main` config.disable_monkey_patching! config.expect_with :rspec do |c| c.syntax = :expect end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
strings-0.1.8 | spec/spec_helper.rb |
strings-0.1.7 | spec/spec_helper.rb |
strings-0.1.6 | spec/spec_helper.rb |