Sha256: 4c3d11ea7a98fedbea2de5cc89e4cd97744a1c6ba41e3666794ec44175524139
Contents?: true
Size: 437 Bytes
Versions: 26
Compression:
Stored size: 437 Bytes
Contents
require "spec_helper" describe Fog::Billing do Fog::Billing.providers.each do |provider| describe "when #{provider} is passed with no available credentials" do it "returns ArgumentError" do # Stub credentials so you still see errors where the tester really has credentials Fog.stub :credentials, {} do assert_raises(ArgumentError) { Fog::Billing[provider] } end end end end end
Version data entries
26 entries across 24 versions & 5 rubygems