Sha256: 7ef2240e4a8d79fd774f8369376702b600bd4378b68d6216fe7d223cb4a56af5
Contents?: true
Size: 406 Bytes
Versions: 15
Compression:
Stored size: 406 Bytes
Contents
require "test_helper" class Identity::EmailsControllerTest < ActionDispatch::IntegrationTest setup do @user, @token = sign_in_as(users(:lazaro_nixon)) end def default_headers { "Authorization" => "Bearer #{@token}" } end test "should update email" do patch identity_email_url, params: { email: "new_email@hey.com" }, headers: default_headers assert_response :success end end
Version data entries
15 entries across 15 versions & 1 rubygems