Sha256: 8e74c01833e44987c654a252bdcdb754b443e339ae111cf0a857a3b9e253b681
Contents?: true
Size: 1.44 KB
Versions: 1
Compression:
Stored size: 1.44 KB
Contents
=begin #Moonlogs #Moonlogs API OpenAPI spec version: 0.3.1 Contact: shalpack@gmail.com Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.52 =end require 'spec_helper' require 'json' require 'date' # Unit tests for MoonlogsRuby::ApiToken # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ApiToken' do before do # run before each test @instance = MoonlogsRuby::ApiToken.new end after do # run after each test end describe 'test an instance of ApiToken' do it 'should create an instance of ApiToken' do expect(@instance).to be_instance_of(MoonlogsRuby::ApiToken) 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 "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 "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 "is_revoked"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moonlogs-ruby-0.3.1 | spec/models/api_token_spec.rb |