Sha256: 14ccaf4cc1a772faebf8db54cf902f85cc30df3db686d3cd3a6165f10289c932
Contents?: true
Size: 767 Bytes
Versions: 6
Compression:
Stored size: 767 Bytes
Contents
require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start require 'yammer-oauth2' require 'rspec' require 'rspec/autorun' require 'webmock/rspec' WebMock.disable_net_connect!(:allow => 'coveralls.io') RSpec.configure do |config| config.mock_with :rspec config.expect_with :rspec do |c| c.syntax = :expect end end def stub_delete(path) stub_request(:delete, 'https://example.com' + path) end def stub_get(path) stub_request(:get, 'https://example.com' + path) end def stub_post(path) stub_request(:post, 'https://example.com' + path) end def stub_put(path) stub_request(:put, 'https://example.com' + path) end
Version data entries
6 entries across 6 versions & 1 rubygems