Sha256: 96c30f2cf4cfb16fed9815c6bbc1fc8c6aff8b126282c8056f45345d3abedfa5

Contents?: true

Size: 432 Bytes

Versions: 5

Compression:

Stored size: 432 Bytes

Contents

Shindo.tests('Cifrado | CLI#saio') do

  tests '#regions' do
    test 'list' do
      Cifrado::Plugins::Saio.class_options[:api_key] = \
        Thor::Option.parse :api_key, fog_settings[:digitalocean_api_key]
      Cifrado::Plugins::Saio.class_options[:client_id] = \
        Thor::Option.parse :client_id, fog_settings[:digitalocean_client_id]
      cli = Cifrado::Plugins::Saio.new 
      cli.regions.size > 0
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cifrado-0.2.1 tests/saio/regions_tests.rb
cifrado-0.2.0 tests/saio/regions_tests.rb
cifrado-0.1.3 tests/saio/regions_tests.rb
cifrado-0.1.2 tests/saio/regions_tests.rb
cifrado-0.1.1 tests/saio/regions_tests.rb