Sha256: 6114ccdc2790600b0a34dd76f47701e76cd42f3ee62b0e6e03e96bc4f003ab06
Contents?: true
Size: 440 Bytes
Versions: 26
Compression:
Stored size: 440 Bytes
Contents
require "spec_helper" describe Fog::Metering do Fog::Metering.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::Metering[provider] } end end end end end
Version data entries
26 entries across 24 versions & 5 rubygems