fix topics controller test
This commit is contained in:
parent
ee0ca3ba35
commit
7716462c8f
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ RSpec.describe TopicsController, type: :controller do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'return 204 NO CONTENT' do
|
it 'return 204 NO CONTENT' do
|
||||||
delete :destroy, { id: topic.to_param, format: :json }
|
delete :destroy, { id: owned_topic.to_param, format: :json }
|
||||||
expect(response.status).to eq 204
|
expect(response.status).to eq 204
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue