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