diff --git a/spec_integration/spec/webapi_integration_spec.rb b/spec_integration/spec/webapi_integration_spec.rb index a100854..e0aa487 100644 --- a/spec_integration/spec/webapi_integration_spec.rb +++ b/spec_integration/spec/webapi_integration_spec.rb @@ -37,20 +37,20 @@ end end - # describe 'update' do - # before do - # comment_params[:comment] = "webapi sample message 2" - # end - # it 'update api not allowed' do - # res = WebAPIClient::Comment.update(comment["id"], comment_params) - # expect(res["code"]).to eq 405 - # end - # end - - # describe 'delete' do - # it 'delete api not allowed' do - # res = WebAPIClient::Comment.delete(comment["id"]) - # expect(res["code"]).to eq 405 - # end - # end + describe 'update' do + before do + comment_params[:comment] = "webapi sample message 2" + end + it 'update api not allowed' do + res = WebAPIClient::Comment.update(comment["id"], comment_params) + expect(res["code"]).to eq 405 + end + end + + describe 'delete' do + it 'delete api not allowed' do + res = WebAPIClient::Comment.delete(comment["id"]) + expect(res["code"]).to eq 405 + end + end end