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
fog-maestrodev-1.18.0.20131111203459 tests/brightbox/models/compute/account_tests.rb
fog-1.18.0 tests/brightbox/models/compute/account_tests.rb
fog-1.17.0 tests/brightbox/models/compute/account_tests.rb
fog-1.16.0 tests/brightbox/models/compute/account_tests.rb
fog-maestrodev-1.15.0.20130927082724 tests/brightbox/models/compute/account_tests.rb
fog-maestrodev-1.15.0.20130829165835 tests/brightbox/models/compute/account_tests.rb
fog-1.15.0 tests/brightbox/models/compute/account_tests.rb
gapinc-fog-1.14.0 tests/brightbox/models/compute/account_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/brightbox/models/compute/account_tests.rb
fog-1.14.0 tests/brightbox/models/compute/account_tests.rb
fog-1.13.0 tests/brightbox/models/compute/account_tests.rb
gapinc-fog-1.12.1.2 tests/brightbox/models/compute/account_tests.rb
gapinc-fog-1.12.1.1 tests/brightbox/models/compute/account_tests.rb
gapinc-fog-1.12.1a tests/brightbox/models/compute/account_tests.rb
gapinc-fog-1.12.1 tests/brightbox/models/compute/account_tests.rb
fog-1.12.1 tests/brightbox/models/compute/account_tests.rb
fog-1.12.0 tests/brightbox/models/compute/account_tests.rb
hpfog-0.0.20 tests/brightbox/models/compute/account_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/brightbox/models/compute/account_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/brightbox/models/compute/account_tests.rb