Sha256: 9b6698a5a027e377f063702f1adeda30917cf57bed943f1b56a5731642791375
Contents?: true
Size: 1.52 KB
Versions: 14
Compression:
Stored size: 1.52 KB
Contents
=begin #Treezor #Treezor API. more info [here](https://www.treezor.com). OpenAPI spec version: 0.1.1 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.1 =end require 'spec_helper' require 'json' require 'date' # Unit tests for TreezorClient::Body # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Body' do before do # run before each test @instance = TreezorClient::Body.new end after do # run after each test end describe 'test an instance of Body' do it 'should create an instance of Body' do expect(@instance).to be_instance_of(TreezorClient::Body) end end describe 'test attribute "card_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_requestor"' 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', ["APPLE", "SAMSUNG", "GOOGLE"]) #validator.allowable_values.each do |value| # expect { @instance.token_requestor = value }.not_to raise_error #end end end describe 'test attribute "additionnal_data"' 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
14 entries across 14 versions & 1 rubygems