diff --git a/spec/requests/api/order_articles_spec.rb b/spec/requests/api/order_articles_spec.rb index e0c8c651..6fa792fa 100644 --- a/spec/requests/api/order_articles_spec.rb +++ b/spec/requests/api/order_articles_spec.rb @@ -7,8 +7,7 @@ describe 'Order Articles', type: :request do get 'order articles' do tags 'Order' produces 'application/json' - parameter name: "per_page", in: :query, type: :integer, required: false - parameter name: "page", in: :query, type: :integer, required: false + pagination_param q_ordered_url_param let(:api_scopes) { ['orders:read', 'orders:write'] }