From 564203bace85c06d0de16ad5d6c2ac540642d84e Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 30 Mar 2023 18:00:37 -0600 Subject: AƱade specs de CardsController MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/requests/addresses_controller/destroy_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/requests/addresses_controller') 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']}" } } -- cgit v1.2.3