Sha256: 0e4fef56329dc925a52e9317bc7d3f3ebe27dd9dd70b2acb33cb33390a5d5b4f
Contents?: true
Size: 685 Bytes
Versions: 67
Compression:
Stored size: 685 Bytes
Contents
Shindo.tests("Fog::Compute[:brightbox] | DatabaseType model", ["brightbox"]) do pending if Fog.mocking? @service = Fog::Compute[:brightbox] tests("success") do tests("#all") do @database_types = @service.database_types.all test("returns results") { !@database_types.empty? } end @sample_identifier = @database_types.first.id pending if @sample_identifier.nil? tests("#get(#{@sample_identifier})") do @database_type = @service.database_types.get(@sample_identifier) test("disk is not nil") do !@database_type.disk.nil? end test("ram is not nil") do !@database_type.ram.nil? end end end end
Version data entries
67 entries across 64 versions & 7 rubygems