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