2 Star 0 Fork 0

GiteeStudio/indexea_client

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
token_bean_spec.rb 2.21 KB
一键复制 编辑 原始数据 按行查看 历史
甘樂 提交于 2024-04-19 10:33 +08:00 . Bump to 0.1.0
=begin
#Indexea OpenAPI
#这是 Indexea 搜索服务平台的 OpenAPI,用于描述平台的所有接口信息,你可以通过这个页面来了解和在线验证平台的所有接口信息。 ### Errors 本 API 使用标准的 HTTP 状态码来指示操作成功或者失败,如果失败将会在 body 中以 JSON 格式提供详细的错误信息,如下所示: ``` { \"error\": 404, \"message\": \"page not found\" } ```
OpenAPI spec version: 1.0.0
Contact: indexea.com@gmail.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.54
=end
require 'spec_helper'
require 'json'
require 'date'
# Unit tests for IndexeaClient::TokenBean
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'TokenBean' do
before do
# run before each test
@instance = IndexeaClient::TokenBean.new
end
after do
# run after each test
end
describe 'test an instance of TokenBean' do
it 'should create an instance of TokenBean' do
expect(@instance).to be_instance_of(IndexeaClient::TokenBean)
end
end
describe 'test attribute "id"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
describe 'test attribute "name"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
describe 'test attribute "token"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
describe 'test attribute "scopes"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
describe 'test attribute "created_at"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
describe 'test attribute "expired_at"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/oscstudio/indexea_client.git
git@gitee.com:oscstudio/indexea_client.git
oscstudio
indexea_client
indexea_client
1d513a1bb730e141ca7da0512659cefd31371c42

搜索帮助