/
YuriyMaksimov
/
Lab3
Обзор
Документация
Войти
/
YuriyMaksimov
/
Lab3
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
spec/api/auth_api_spec.rb
57 строк
2 KB
Yuriy
init
12 дек 2025, 23:07
12 дек 2025, 23:07
7df06fa
Код
Авторство
О чём код?
=begin #Task API v1 #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech Generator version: 7.17.0 =end require 'spec_helper' require 'json' # Unit tests for OpenapiClient::AuthApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'AuthApi' do before do # run before each test @api_instance = OpenapiClient::AuthApi.new end after do # run after each test end describe 'test an instance of AuthApi' do it 'should create an instance of AuthApi' do expect(@api_instance).to be_instance_of(OpenapiClient::AuthApi) end end # unit tests for api_v1_auth_login_post # @param [Hash] opts the optional parameters # @option opts [String] :idempotency_key Unique key for idempotent POST requests # @option opts [LoginDto] :login_dto # @return [nil] describe 'api_v1_auth_login_post test' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end # unit tests for api_v1_auth_register_post # @param [Hash] opts the optional parameters # @option opts [String] :idempotency_key Unique key for idempotent POST requests # @option opts [RegisterDto] :register_dto # @return [nil] describe 'api_v1_auth_register_post test' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end end