Sha256: 9a4bf22420f326fc5819f1ceb76939ad83c1bd0a6846bb3ef38d65d5c61321ae
Contents?: true
Size: 1.62 KB
Versions: 6
Compression:
Stored size: 1.62 KB
Contents
=begin #Budgea API Documentation #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.15 =end require 'spec_helper' require 'json' require 'date' # Unit tests for BudgeaClient::User # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'User' do before do # run before each test @instance = BudgeaClient::User.new end after do # run after each test end describe 'test an instance of User' do it 'should create an instance of User' do expect(@instance).to be_instance_of(BudgeaClient::User) 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 "signin"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "platform"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["web", "iPad", "iPhone", "Android", "CAstore", "requestAccess", "sharedAccess", "transfer", "refresh_token"]) # validator.allowable_values.each do |value| # expect { @instance.platform = value }.not_to raise_error # end end end end
Version data entries
6 entries across 6 versions & 1 rubygems