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-nirvanix-1.8.1 tests/cloudstack/signed_params_tests.rb
fog-1.10.1 tests/cloudstack/signed_params_tests.rb
fog-parser-fix-1.6.1 tests/cloudstack/signed_params_tests.rb
fog-test-again-1.6.0 tests/cloudstack/signed_params_tests.rb
fog-test-me-1.10.0 tests/cloudstack/signed_params_tests.rb
fog-parser-fix-1.6.0 tests/cloudstack/signed_params_tests.rb
fog-1.10.0 tests/cloudstack/signed_params_tests.rb
fog-1.9.0 tests/cloudstack/signed_params_tests.rb
fog-maestrodev-1.8.0.20130114204828 tests/cloudstack/signed_params_tests.rb
fog-maestrodev-1.8.0.20130111070250 tests/cloudstack/signed_params_tests.rb
fog-maestrodev-1.8.0.20130109172219 tests/cloudstack/signed_params_tests.rb
fog-sgonyea-1.8.1 tests/cloudstack/signed_params_tests.rb
fog-1.8.0 tests/cloudstack/signed_params_tests.rb
fog-maestrodev-1.7.0.20121114190951 tests/cloudstack/signed_params_tests.rb
fog-1.7.0 tests/cloudstack/signed_params_tests.rb
fog-1.6.0 tests/cloudstack/signed_params_tests.rb
fog-1.5.0 tests/cloudstack/signed_params_tests.rb
rackspace-fog-1.4.2 tests/cloudstack/signed_params_tests.rb
fog-1.4.0 tests/cloudstack/signed_params_tests.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/tests/cloudstack/signed_params_tests.rb