require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start require 'webmock/rspec' require 'cellular' Dir['./spec/support/**/*.rb'].sort.each { |file| require file } RSpec.configure do |config| # Allow focussing on individual specs config.filter_run focus: true config.run_all_when_everything_filtered = true # Run specs in random order to surface order dependencies config.order = 'random' end