Sha256: 9ef5436625c43c3858e08d22335251f8799390c03c62deac7bc6532a968b0c0e

Contents?: true

Size: 498 Bytes

Versions: 5

Compression:

Stored size: 498 Bytes

Contents

require "application_system_test_case"

class PasswordsTest < ApplicationSystemTestCase
  setup do
    @<%= singular_table_name %> = sign_in_as(<%= table_name %>(:lazaro_nixon))
  end

  test "updating the password" do
    click_on "Change password"

    fill_in "Current password", with: "Secret1*3*5*"
    fill_in "New password", with: "Secret6*4*2*"
    fill_in "Confirm new password", with: "Secret6*4*2*"
    click_on "Save changes"

    assert_text "Your password has been changed"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
authentication-zero-2.11.2 lib/generators/authentication/templates/test_unit/system/passwords_test.rb.tt
authentication-zero-2.11.1 lib/generators/authentication/templates/test_unit/system/passwords_test.rb.tt
authentication-zero-2.11.0 lib/generators/authentication/templates/test_unit/system/passwords_test.rb.tt
authentication-zero-2.10.0 lib/generators/authentication/templates/test_unit/system/passwords_test.rb.tt
authentication-zero-2.9.3 lib/generators/authentication/templates/test_unit/system/passwords_test.rb.tt