Sha256: 7462a895ae7371a364f3d39f19df3f922c8c5043c8bcee13cb5e87beeec73e29
Contents?: true
Size: 464 Bytes
Versions: 5
Compression:
Stored size: 464 Bytes
Contents
require 'minitest/autorun' require 'oauth/signature' require 'oauth/request_proxy/mock_request' class OAuthCase < Minitest::Test # avoid whining about a lack of tests def run(*args) return if @method_name.to_s == "default_test" super end protected # Creates a fake request def request(params={},method='GET',uri="http://photos.example.net/photos") OAuth::RequestProxy.proxy({'parameters'=>params,'method'=>method,'uri'=>uri}) end end
Version data entries
5 entries across 4 versions & 2 rubygems