Sha256: a51e3007ab94977c0ecca1459fb4f8fe18fe25c95a4c401be341135499e313cf

Contents?: true

Size: 557 Bytes

Versions: 11

Compression:

Stored size: 557 Bytes

Contents

# encoding: utf-8

if ENV['TRAVIS'] || ENV['COVERAGE']
  require 'simplecov'
  require 'coveralls'

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

  SimpleCov.start do
    add_filter 'spec'
  end
end

require 'tty'

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.order = 'random'
  config.raise_errors_for_deprecations!
end

class String
  def normalize
    gsub(/^[ \t]*/, '').chomp
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tty-0.5.0 spec/spec_helper.rb
tty-0.4.0 spec/spec_helper.rb
tty-0.3.2 spec/spec_helper.rb
tty-0.3.1 spec/spec_helper.rb
tty-0.3.0 spec/spec_helper.rb
tty-0.2.1 spec/spec_helper.rb
tty-0.2.0 spec/spec_helper.rb
tty-0.1.3 spec/spec_helper.rb
tty-0.1.2 spec/spec_helper.rb
tty-0.1.1 spec/spec_helper.rb
tty-0.1.0 spec/spec_helper.rb