Sha256: 18514457018c696da773958938d7ece6d6e12ca3c3b6bf642dbea059af23f666

Contents?: true

Size: 547 Bytes

Versions: 37

Compression:

Stored size: 547 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

37 entries across 35 versions & 3 rubygems

Version Path
fog-brightbox-1.11.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.10.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.9.1 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.9.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.8.2 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.8.1 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.8.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.7.3 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.7.2 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.7.1 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.7.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.6.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.5.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.5.0.rc1 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.4.2 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.4.1 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.4.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.3.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.2.0 tests/brightbox/models/compute/account_tests.rb
fog-brightbox-1.1.0 tests/brightbox/models/compute/account_tests.rb