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