Sha256: a2a410635cf8af82499387a8ccb187429fecf36cdca47ae48551c774a67b0ac3

Contents?: true

Size: 398 Bytes

Versions: 15

Compression:

Stored size: 398 Bytes

Contents

require "test_helper"

class Identity::EmailsControllerTest < ActionDispatch::IntegrationTest
  setup do
    @user = sign_in_as(users(:lazaro_nixon))
  end

  test "should get edit" do
    get edit_identity_email_url
    assert_response :success
  end

  test "should update email" do
    patch identity_email_url, params: { email: "new_email@hey.com" }
    assert_redirected_to root_url
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
authentication-zero-2.16.5 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.16.4 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.16.3 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.16.2 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.16.1 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.16.0 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.15.9 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.15.8 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.15.7 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.15.6 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.15.5 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.15.4 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.15.3 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.15.2 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt
authentication-zero-2.15.1 lib/generators/authentication/templates/test_unit/controllers/html/identity/emails_controller_test.rb.tt