Sha256: 36affc86bbbc92bb1dcb9c8520fa11516380af10bc18e5311ef44b339734ca5f

Contents?: true

Size: 522 Bytes

Versions: 4

Compression:

Stored size: 522 Bytes

Contents

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

  @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

4 entries across 4 versions & 3 rubygems

Version Path
fog-nirvanix-1.8.2 tests/brightbox/models/compute/account_tests.rb
fog-nirvanix-1.8.1 tests/brightbox/models/compute/account_tests.rb
fog-sgonyea-1.8.1 tests/brightbox/models/compute/account_tests.rb
fog-1.8.0 tests/brightbox/models/compute/account_tests.rb