create(:user) } describe "GET /v1/users/me" do it "conforms to response schema of success" do get v1_user_information_index_path, headers: @headers assert_response_schema_confirm expect(response).to have_http_status 200 end it "conforms to response schema of failure" do get v1_user_information_index_path assert_response_schema_confirm expect(response).to have_http_status 401 end end end