Sha256: 351781bd749277746c6a19a4b2c0d0b08e8b715c04cc81bf76d177d785d99c0f
Contents?: true
Size: 376 Bytes
Versions: 1
Compression:
Stored size: 376 Bytes
Contents
require 'coveralls' Coveralls.wear! require "spec_constants" require "api_stubs" RSpec.configure do |c| c.before(:suite) do FakeWeb.allow_net_connect = false end c.after(:suite) do FakeWeb.allow_net_connect = true end end RSpec::Matchers.define :have_JSON_error_code do |expected| match do |actual| actual['error']['code'] == expected.to_s end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hetzner-api-1.2.0 | spec/spec_helper.rb |