Sha256: 12856ca9fff51e985ed3161b384fe21072f315bea6f9597120308b656e8be643

Contents?: true

Size: 466 Bytes

Versions: 4

Compression:

Stored size: 466 Bytes

Contents

require "application_system_test_case"

class PasswordsTest < ApplicationSystemTestCase
  setup do
    @user = sign_in_as(users(:lazaro_nixon))
  end

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

    fill_in "Password challenge", 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

4 entries across 4 versions & 1 rubygems

Version Path
authentication-zero-3.0.2 lib/generators/authentication/templates/test_unit/system/passwords_test.rb.tt
authentication-zero-3.0.1 lib/generators/authentication/templates/test_unit/system/passwords_test.rb.tt
authentication-zero-3.0.0 lib/generators/authentication/templates/test_unit/system/passwords_test.rb.tt
authentication-zero-3.0.0.alpha1 lib/generators/authentication/templates/test_unit/system/passwords_test.rb.tt