Sha256: e1c799d48a2bd1f16f101ee727dd89b6c2e1b80b5f994664081f63d0257930e5

Contents?: true

Size: 549 Bytes

Versions: 89

Compression:

Stored size: 549 Bytes

Contents

Shindo.tests("Fog::Compute[:brightbox] | Account model", ["brightbox"]) do

  pending if Fog.mocking?

  @account = Fog::Compute[:brightbox].account

  tests("success") do

    tests("#reset_ftp_password") do
      pending if Fog.mocking?
      test("original ftp password is blanked") { @account.library_ftp_password.nil? }
      @new_password = @account.reset_ftp_password
      test("new ftp password was not nil") { !@new_password.nil? }
      test("new ftp password is set") { @account.library_ftp_password == @new_password }
    end
  end
end

Version data entries

89 entries across 89 versions & 9 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/brightbox/models/compute/account_tests.rb
fog-1.33.0 tests/brightbox/models/compute/account_tests.rb
fog-1.32.0 tests/brightbox/models/compute/account_tests.rb
fog-1.31.0 tests/brightbox/models/compute/account_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/brightbox/models/compute/account_tests.rb
fog-1.30.0 tests/brightbox/models/compute/account_tests.rb
fog-1.29.0 tests/brightbox/models/compute/account_tests.rb
fog-1.28.0 tests/brightbox/models/compute/account_tests.rb
fog-1.27.0 tests/brightbox/models/compute/account_tests.rb
fog-1.26.0 tests/brightbox/models/compute/account_tests.rb
fog-1.25.0 tests/brightbox/models/compute/account_tests.rb
nsidc-fog-1.24.1 tests/brightbox/models/compute/account_tests.rb
fog-1.24.0 tests/brightbox/models/compute/account_tests.rb
ns-fog-1.22.11 tests/brightbox/models/compute/account_tests.rb
ns-fog-1.22.10 tests/brightbox/models/compute/account_tests.rb
ns-fog-1.22.9 tests/brightbox/models/compute/account_tests.rb
ns-fog-1.22.8 tests/brightbox/models/compute/account_tests.rb
ns-fog-1.22.7 tests/brightbox/models/compute/account_tests.rb
ns-fog-1.22.6 tests/brightbox/models/compute/account_tests.rb
fog-1.23.0 tests/brightbox/models/compute/account_tests.rb