Sha256: ec10aa1d975abfabb2d4e1d6bdc9402ec15bb4b8bb863cefa6167d8879aa1a3a
Contents?: true
Size: 734 Bytes
Versions: 3
Compression:
Stored size: 734 Bytes
Contents
require "minitest/autorun" require "fog" require "fog/bin" require "helpers/bin" describe Brightbox do include Fog::BinSpec let(:subject) { Brightbox } describe "#services" do it "includes all services" do assert_includes Brightbox.services, :compute assert_includes Brightbox.services, :storage end end describe "#class_for" do describe "when requesting compute service" do it "returns correct class" do assert_equal Fog::Compute::Brightbox, Brightbox.class_for(:compute) end end describe "when requesting storage service" do it "returns correct class" do assert_equal Fog::Storage::Brightbox, Brightbox.class_for(:storage) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fog-1.28.0 | spec/fog/bin/brightbox_spec.rb |
fog-1.27.0 | spec/fog/bin/brightbox_spec.rb |
fog-1.26.0 | spec/fog/bin/brightbox_spec.rb |