summaryrefslogtreecommitdiff
path: root/spec/requests/addresses_controller
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-30 18:00:37 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-30 18:00:37 -0600
commit564203bace85c06d0de16ad5d6c2ac540642d84e (patch)
tree2fa202a85147316df065957a29126c08dc140940 /spec/requests/addresses_controller
parent2ae0cd8a8dc6d630ee1a7a84ddf6111609dbdeb7 (diff)
Añade specs de CardsController
Diffstat (limited to 'spec/requests/addresses_controller')
-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']}" } }