Sha256: 9a1851e8abc9b9548874e52faa8110656f99af4615eec6ad6b89e70d7685783c
Contents?: true
Size: 1.97 KB
Versions: 6
Compression:
Stored size: 1.97 KB
Contents
=begin #Subskribe API #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.41 =end require 'spec_helper' require 'json' require 'date' # Unit tests for SubskribeDevClient::DiscountJson # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'DiscountJson' do before do # run before each test @instance = SubskribeDevClient::DiscountJson.new end after do # run after each test end describe 'test an instance of DiscountJson' do it 'should create an instance of DiscountJson' do expect(@instance).to be_instance_of(SubskribeDevClient::DiscountJson) 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 "percent"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "discount_amount"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "status"' 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', ["ACTIVE", "DEPRECATED"]) # validator.allowable_values.each do |value| # expect { @instance.status = value }.not_to raise_error # end end end describe 'test attribute "discounted_price"' 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
6 entries across 6 versions & 3 rubygems