Sha256: 896cc935db885780c30520804271705c7fd989504d000232d2e053c34baf4983
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
require "minitest/autorun" require "fog" describe Fog::Support do Fog::Support.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::Support[provider] } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-1.28.0 | spec/fog/support_spec.rb |
fog-1.27.0 | spec/fog/support_spec.rb |