Skip to content
Snippets Groups Projects
Commit 48fbf58c authored by Israel Barreto Sant'Anna's avatar Israel Barreto Sant'Anna
Browse files

Fixed failed test

parent 74211741
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ class V1::ScoresController < ApplicationController
# GET /scores/1
# GET /scores/1.json
def show
render json: @score
render json: @score, status: :ok
end
# PUT/PATCH /v1/scores/1
......
......@@ -9,6 +9,7 @@ class V1::ScoresControllerTest < ActionController::TestCase
end
test 'should show score' do
auth_application
score = scores(:score_19)
get :show, id: score.id
assert_response :ok
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment