fix spec for 8 character positions in unlimited raids
This commit is contained in:
parent
5c578ee527
commit
964b73fda1
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ RSpec.describe 'Drag Drop API Endpoints', type: :request do
|
||||||
|
|
||||||
it 'returns error for invalid position' do
|
it 'returns error for invalid position' do
|
||||||
put "/api/v1/parties/#{party.id}/grid_characters/#{char1.id}/position",
|
put "/api/v1/parties/#{party.id}/grid_characters/#{char1.id}/position",
|
||||||
params: { position: 7 }.to_json,
|
params: { position: 8 }.to_json,
|
||||||
headers: headers
|
headers: headers
|
||||||
|
|
||||||
expect(response).to have_http_status(:unprocessable_entity)
|
expect(response).to have_http_status(:unprocessable_entity)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue