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-cloudstack-0.1.0 tests/signed_params_tests.rb
fog-2.1.0 tests/cloudstack/signed_params_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/tests/cloudstack/signed_params_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/tests/cloudstack/signed_params_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/tests/cloudstack/signed_params_tests.rb
fog-1.42.1 tests/cloudstack/signed_params_tests.rb
fog-2.0.0 tests/cloudstack/signed_params_tests.rb
fog-1.42.0 tests/cloudstack/signed_params_tests.rb
fog-1.41.0 tests/cloudstack/signed_params_tests.rb
fog-1.40.0 tests/cloudstack/signed_params_tests.rb
fog-1.39.0 tests/cloudstack/signed_params_tests.rb
fog-1.38.0 tests/cloudstack/signed_params_tests.rb
fog-1.37.0 tests/cloudstack/signed_params_tests.rb
fog-1.36.0 tests/cloudstack/signed_params_tests.rb
fog-1.35.0 tests/cloudstack/signed_params_tests.rb
fog-2.0.0.pre.0 tests/cloudstack/signed_params_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/cloudstack/signed_params_tests.rb
fog-1.34.0 tests/cloudstack/signed_params_tests.rb
fog-1.33.0 tests/cloudstack/signed_params_tests.rb
fog-1.32.0 tests/cloudstack/signed_params_tests.rb