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-1.11.1 tests/brightbox/models/compute/account_tests.rb
fog-1.11.0 tests/brightbox/models/compute/account_tests.rb
fog-1.10.1 tests/brightbox/models/compute/account_tests.rb
fog-test-me-1.10.0 tests/brightbox/models/compute/account_tests.rb
fog-1.10.0 tests/brightbox/models/compute/account_tests.rb
fog-1.9.0 tests/brightbox/models/compute/account_tests.rb
fog-maestrodev-1.8.0.20130114204828 tests/brightbox/models/compute/account_tests.rb
fog-maestrodev-1.8.0.20130111070250 tests/brightbox/models/compute/account_tests.rb
fog-maestrodev-1.8.0.20130109172219 tests/brightbox/models/compute/account_tests.rb