require 'webmock/rspec'
require_relative '../lib/groovehq'

RSpec.configure do |config|

  config.before :all, integration: true do
    WebMock.disable!
  end

end

require 'webmock/rspec'
require_relative '../lib/groovehq'

RSpec.configure do |config|
  config.before :all do
    WebMock.enable!
  end

  config.before :all, integration: true do
    WebMock.disable!
  end
end

Call WebMock.enable before all specs in an example group
Call WebMock.enable before all specs in an example group
