Sha256: e2dfe87c794c2289aa9f8634146fc37d4ff57fa1ba00b04d788af475f0a2c59c

Contents?: true

Size: 287 Bytes

Versions: 5

Compression:

Stored size: 287 Bytes

Contents

require_relative "../lib/kloudless"
require "minitest/autorun"
require "minitest/mock"
require "byebug"

module Kloudless
  class Test
    def teardown
      unmock
    end

    def unmock
      Kloudless.http = Kloudless::HTTP
      Kloudless.http.mock_response = nil
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kloudless-1.0.1 test/test_helper.rb
kloudless-1.0.0 test/test_helper.rb
kloudless-0.2.1 test/test_helper.rb
kloudless-0.2.0 test/test_helper.rb
kloudless-0.1.0 test/test_helper.rb