spec/spec_helper.rb in groupme-api-0.4.1 vs spec/spec_helper.rb in groupme-api-0.5.0

- old
+ new

@@ -1,28 +1,17 @@ # frozen_string_literal: true require 'simplecov' require 'coveralls' -require 'webmock' SimpleCov.start Coveralls.wear! -WebMock.enable! -require 'bundler/setup' require 'groupme' -require 'support/fake_groupme' -require 'securerandom' -RSpec.configure do |config| - include WebMock::API +require 'support/groupme' +require 'support/vcr' +require 'support/webmock' +RSpec.configure do |config| config.filter_run_when_matching :focus - - config.expect_with :rspec do |c| - c.syntax = :expect - end - - config.before(:each) do - stub_request(:any, /api.groupme.com/).to_rack(FakeGroupMe) - end end