summaryrefslogtreecommitdiff
path: root/spec/requests/addresses_controller/destroy_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/addresses_controller/destroy_spec.rb')
-rw-r--r--spec/requests/addresses_controller/destroy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/addresses_controller/destroy_spec.rb b/spec/requests/addresses_controller/destroy_spec.rb
index df43329..bf33067 100644
--- a/spec/requests/addresses_controller/destroy_spec.rb
+++ b/spec/requests/addresses_controller/destroy_spec.rb
@@ -2,7 +2,7 @@
require 'rails_helper'
-RSpec.describe 'DELETE /api/products/product_id', type: :request do
+RSpec.describe 'DELETE /api/account/addresses/address_id', type: :request do
let(:user) { create(:user_account, role: 'regular') }
let(:token) { jwt(user) }
let(:headers) { { 'Authorization' => "Bearer #{token['token']}" } }