fix: minor foo
This commit is contained in:
parent
18358484ba
commit
619fdbe958
4 changed files with 10 additions and 8 deletions
|
|
@ -91,10 +91,7 @@ describe 'User', type: :request do
|
|||
response '200', 'success' do
|
||||
schema type: :object, properties: {
|
||||
financial_transaction: {
|
||||
type: :object,
|
||||
items: {
|
||||
'$ref': '#/components/schemas/FinancialTransaction'
|
||||
}
|
||||
'$ref': '#/components/schemas/FinancialTransaction'
|
||||
}
|
||||
}
|
||||
let(:id) { ft.id }
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ describe 'User', type: :request do
|
|||
tags 'User', 'Financial Transaction'
|
||||
produces 'application/json'
|
||||
let(:user) { create :user, :ordergroup }
|
||||
let(:api_scopes) { ['finance:user'] }
|
||||
FinancialTransactionClass.create(name: 'TestTransaction')
|
||||
|
||||
response 200, 'success' do
|
||||
|
|
@ -93,7 +94,6 @@ describe 'User', type: :request do
|
|||
}
|
||||
}
|
||||
|
||||
let(:api_scopes) { ['finance:user'] }
|
||||
run_test!
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue