Add admin interface to enable the self service functionality
This commit is contained in:
parent
e6061e6760
commit
00f1dddd3d
5 changed files with 7 additions and 3 deletions
|
|
@ -50,7 +50,6 @@ describe 'API v1', type: :apivore, order: :defined do
|
|||
|
||||
let(:create_params) { {'_data' => {financial_transaction: {amount: 1, financial_transaction_type_id: ft_1.financial_transaction_type.id, note: 'note'}}} }
|
||||
|
||||
|
||||
context 'without using self service' do
|
||||
it { is_expected.to validate(:post, '/user/financial_transactions', 403, api_auth(create_params)) }
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue