mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-09 06:28:06 -05:00
Update spec name
This commit is contained in:
@@ -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'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user