fix: financial category tag
This commit is contained in:
parent
6bacbe9584
commit
1c5a3c6864
3 changed files with 5 additions and 9 deletions
|
@ -17,11 +17,7 @@ describe 'Financial Transaction', type: :request do
|
|||
response '200', 'success' do
|
||||
schema type: :object, properties: {
|
||||
meta: {
|
||||
type: :object,
|
||||
items:
|
||||
{
|
||||
'$ref': '#/components/schemas/Meta'
|
||||
}
|
||||
'$ref' => '#/components/schemas/Meta'
|
||||
},
|
||||
financial_transaction: {
|
||||
type: :array,
|
||||
|
@ -40,7 +36,7 @@ describe 'Financial Transaction', type: :request do
|
|||
|
||||
path '/financial_transactions/{id}' do
|
||||
get 'Retrieves a financial transaction ' do
|
||||
tags 'Category'
|
||||
tags 'Financial Transaction'
|
||||
produces 'application/json'
|
||||
parameter name: :id, in: :path, type: :string
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ describe 'User', type: :request do
|
|||
|
||||
path '/user/financial_transactions' do
|
||||
post 'create new financial transaction (requires enabled self service)' do
|
||||
tags 'User', 'FinancialTransaction'
|
||||
tags "Financial Transaction"
|
||||
consumes 'application/json'
|
||||
produces 'application/json'
|
||||
parameter name: "per_page", in: :query, type: :integer, required: false
|
||||
|
@ -105,7 +105,7 @@ describe 'User', type: :request do
|
|||
|
||||
path '/user/financial_transactions/{id}' do
|
||||
get 'find financial transaction by id' do
|
||||
tags 'User', 'FinancialTransaction'
|
||||
tags 'User', 'Financial Transaction'
|
||||
produces 'application/json'
|
||||
parameter name: :id, in: :path, type: :string
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ describe 'User', type: :request do
|
|||
|
||||
path '/user/financial_overview' do
|
||||
get 'financial summary about the currently logged-in user' do
|
||||
tags 'User', 'FinancialTransaction'
|
||||
tags 'User', 'Financial Transaction'
|
||||
produces 'application/json'
|
||||
let(:user) { create :user, :ordergroup }
|
||||
FinancialTransactionClass.create(name: 'TestTransaction')
|
||||
|
|
Loading…
Reference in a new issue