Sha256: f78c851cfa4d25a39e42da3acb7bec54af330b1408d140da6b5ce1b1f2d52ee5

Contents?: true

Size: 643 Bytes

Versions: 22

Compression:

Stored size: 643 Bytes

Contents

require "simplecov"
require "coveralls"
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]
SimpleCov.start { add_filter "/spec/" }

require "pry"
require "lita"
require "lita/cli"
require "lita/rspec"

Lita.version_3_compatibility_mode = false

RSpec.configure do |config|
  config.mock_with :rspec do |mocks_config|
    mocks_config.verify_doubled_constant_names = true
    mocks_config.verify_partial_doubles = true
  end

  config.before do
    logger = double("Lita:Logger").as_null_object
    allow(Lita).to receive(:logger).and_return(logger)
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
lita-4.7.1 spec/spec_helper.rb
lita-4.7.0 spec/spec_helper.rb
lita-4.6.1 spec/spec_helper.rb
lita-4.6.0 spec/spec_helper.rb
lita-4.5.0 spec/spec_helper.rb
lita-4.4.3 spec/spec_helper.rb
lita-4.4.2 spec/spec_helper.rb
lita-4.4.1 spec/spec_helper.rb
lita-4.4.0 spec/spec_helper.rb
lita-4.3.2 spec/spec_helper.rb
lita-4.3.1 spec/spec_helper.rb
lita-4.3.0 spec/spec_helper.rb
lita-4.2.1 spec/spec_helper.rb
lita-4.2.0 spec/spec_helper.rb
lita-4.1.0 spec/spec_helper.rb
lita-4.0.4 spec/spec_helper.rb
lita-4.0.3 spec/spec_helper.rb
lita-4.0.2 spec/spec_helper.rb
lita-4.0.1 spec/spec_helper.rb
lita-4.0.0 spec/spec_helper.rb