Update spec name

This commit is contained in:
Eugene Burmakin
2025-09-13 16:10:46 +02:00
parent dd31563653
commit 662d819f47

View File

@@ -96,7 +96,7 @@ RSpec.describe 'Api::V1::Subscriptions', type: :request do
JWT.encode({ user_id: 'invalid', status: nil }, jwt_secret, 'HS256')
end
it 'returns unprocessable_entity error with invalid data message' do
it 'returns unprocessable_content error with invalid data message' do
allow(Subscription::DecodeJwtToken).to receive(:new).with(token)
.and_raise(ArgumentError.new('Invalid token data'))