Sha256: 25ad553cb4342f3fc9651004b26649a4133ed4742a7433d7e94812bc23b23203
Contents?: true
Size: 549 Bytes
Versions: 38
Compression:
Stored size: 549 Bytes
Contents
begin require 'bundler/setup' rescue LoadError puts 'although not required, it is recommended that you use bundler when running the tests' end require 'rspec' require 'rspec/autorun' require 'em-http' # As of webmock 1.4.0, em-http must be loaded first require 'webmock/rspec' require 'pusher' require 'eventmachine' RSpec.configure do |config| config.before(:each) do WebMock.reset! WebMock.disable_net_connect! end end def hmac(key, data) digest = OpenSSL::Digest::SHA256.new OpenSSL::HMAC.hexdigest(digest, key, data) end
Version data entries
38 entries across 38 versions & 2 rubygems