spec/spec_helper.rb in lita-tweet-0.3.0 vs spec/spec_helper.rb in lita-tweet-0.4.0

- old
+ new

@@ -1,14 +1,18 @@ -require "simplecov" require "coveralls" -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ - SimpleCov::Formatter::HTMLFormatter, - Coveralls::SimpleCov::Formatter -] -SimpleCov.start { add_filter "/spec/" } +require "simplecov" +SimpleCov.add_filter("/.bundle/") +Coveralls.wear! require "lita-tweet" require "lita/rspec" +require "webmock/rspec" # A compatibility mode is provided for older plugins upgrading from Lita 3. Since this plugin # was generated with Lita 4, the compatibility mode should be left disabled. Lita.version_3_compatibility_mode = false + +RSpec.configure do |config| + config.example_status_persistence_file_path = ".rspec_examples" + config.filter_run focus: true + config.run_all_when_everything_filtered = true +end