Sha256: f07d3b608781db9713b86909d4963bf8fe9b3626303eb59241a82c2f8247b1b4
Contents?: true
Size: 694 Bytes
Versions: 6
Compression:
Stored size: 694 Bytes
Contents
#encoding: utf-8 require 'simplecov' require 'coveralls' Coveralls.wear! SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start require 'hh' require 'rspec' require 'webmock/rspec' WebMock.disable_net_connect!(:allow => 'coveralls.io') RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end end def a_get(path) a_request(:get, HH::API::API_URL + path) end def stub_get(path) stub_request(:get, HH::API::API_URL + path) end def fixture_path File.expand_path("../fixtures", __FILE__) end def fixture(file) File.new(fixture_path + '/' + file) end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
hh-0.0.7 | spec/spec_helper.rb |
hh-0.0.6 | spec/spec_helper.rb |
hh-0.0.5 | spec/spec_helper.rb |
hh-0.0.4 | spec/spec_helper.rb |
hh-0.0.3 | spec/spec_helper.rb |
hh-0.0.2 | spec/spec_helper.rb |