rspec seems to behave now
This commit is contained in:
@@ -19,7 +19,7 @@ module Suppliers
|
||||
else
|
||||
@lists = List.for_supplier(current_supplier, page: params[:page], per_page: params[:per_page] || 25)
|
||||
end
|
||||
@lists.include_relation(:table)
|
||||
@lists.include_relation(:table, :users, orders: {product_orders: :product})
|
||||
|
||||
render json: @lists, each_serializer: SupplierListSerializer
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user