Sha256: 3a0ba36371cf5de3453e8b4f9b6d049dc94e91ef061a0bb3f9c05357250b1a80
Contents?: true
Size: 1.4 KB
Versions: 30
Compression:
Stored size: 1.4 KB
Contents
=begin # Mux Ruby - Copyright 2019 Mux Inc. # NOTE: This file is auto generated. Do not edit this file manually. =end require 'spec_helper' require 'json' require 'date' # Unit tests for MuxRuby::GetAssetOrLiveStreamIdResponseDataObject # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'GetAssetOrLiveStreamIdResponseDataObject' do before do # run before each test @instance = MuxRuby::GetAssetOrLiveStreamIdResponseDataObject.new end after do # run after each test end describe 'test an instance of GetAssetOrLiveStreamIdResponseDataObject' do it 'should create an instance of GetAssetOrLiveStreamIdResponseDataObject' do expect(@instance).to be_instance_of(MuxRuby::GetAssetOrLiveStreamIdResponseDataObject) 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 "type"' 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', ["asset", "live_stream"]) # validator.allowable_values.each do |value| # expect { @instance.type = value }.not_to raise_error # end end end end
Version data entries
30 entries across 30 versions & 1 rubygems