Sha256: 42fae4e18b5d07dc8484530fbb0530bb7881c181bb40bade01c4364221e55a48

Contents?: true

Size: 865 Bytes

Versions: 128

Compression:

Stored size: 865 Bytes

Contents

# encoding: utf-8

Shindo.tests('Cloudstack | escape', ['cloudstack']) do
  returns( Fog::Cloudstack.escape( "'Stöp!' said Fred_-~." ) ) { "%27St%C3%B6p%21%27%20said%20Fred_-%7E." }
end

Shindo.tests('Cloudstack | signed_params', ['cloudstack']) do
  returns( Fog::Cloudstack.signed_params( 'abcdefg', 'account' => 'Lorem Ipsum', 'domainid' => 42, 'q' => 'keywords' ) ) { "V2CxRU4zQQtox1DZsH/66GDdzhg=" }
  returns( Fog::Cloudstack.signed_params( 'abcdefg', 'account' => 'Lorem Ipsum', 'domainid' => '42', 'q' => 'keywords' ) ) { "V2CxRU4zQQtox1DZsH/66GDdzhg=" }
  returns( Fog::Cloudstack.signed_params( 'abcdefg', 'account' => 'Lorem Ipsum', 'domainid' => 42, 'q' => nil ) ) { "5bsDirm5pPgVoreQ6vquKRN+4HI=" }
  returns( Fog::Cloudstack.signed_params( 'abcdefg', 'account' => 'Lorem Ipsum', 'domainid' => 42, 'q' => '' ) ) { "5bsDirm5pPgVoreQ6vquKRN+4HI=" }
end

Version data entries

128 entries across 126 versions & 20 rubygems

Version Path
fog-1.31.0 tests/cloudstack/signed_params_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/cloudstack/signed_params_tests.rb
fog-1.30.0 tests/cloudstack/signed_params_tests.rb
fog-1.29.0 tests/cloudstack/signed_params_tests.rb
fog-1.28.0 tests/cloudstack/signed_params_tests.rb
fog-1.27.0 tests/cloudstack/signed_params_tests.rb
fog-1.26.0 tests/cloudstack/signed_params_tests.rb
fog-1.25.0 tests/cloudstack/signed_params_tests.rb
nsidc-fog-1.24.1 tests/cloudstack/signed_params_tests.rb
fog-1.24.0 tests/cloudstack/signed_params_tests.rb
ns-fog-1.22.11 tests/cloudstack/signed_params_tests.rb
ns-fog-1.22.10 tests/cloudstack/signed_params_tests.rb
ns-fog-1.22.9 tests/cloudstack/signed_params_tests.rb
ns-fog-1.22.8 tests/cloudstack/signed_params_tests.rb
ns-fog-1.22.7 tests/cloudstack/signed_params_tests.rb
ns-fog-1.22.6 tests/cloudstack/signed_params_tests.rb
fog-1.23.0 tests/cloudstack/signed_params_tests.rb
ns-fog-1.22.4 tests/cloudstack/signed_params_tests.rb
ns-fog-1.22.3 tests/cloudstack/signed_params_tests.rb
ns-fog-1.22.2 tests/cloudstack/signed_params_tests.rb