Sha256: 7e29849823983259a437854f6f8ddc5fc25cde3fc046dc78cf531642d5ae6ab0
Contents?: true
Size: 1.5 KB
Versions: 3
Compression:
Stored size: 1.5 KB
Contents
# frozen_string_literal: true # #Kinopoisk Unofficial API # The version of the OpenAPI document: 2.0.1 # Contact: support@kinopoiskapiunofficial.tech # Generated by: https://openapi-generator.tech # OpenAPI Generator version: 5.3.1 # require "spec_helper" require "json" require "date" # Unit tests for Kuapir::VideoResponseItems # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe Kuapir::VideoResponseItems do let(:instance) { Kuapir::VideoResponseItems.new } describe "test an instance of VideoResponseItems" do it "should create an instance of VideoResponseItems" do expect(instance).to be_instance_of(Kuapir::VideoResponseItems) end end describe 'test attribute "url"' 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 "site"' 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', ["YOUTUBE", "KINOPOISK_WIDGET", "UNKNOWN"]) # validator.allowable_values.each do |value| # expect { instance.site = value }.not_to raise_error # end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kuapir-0.1.4 | spec/models/video_response_items_spec.rb |
kuapir-0.1.3 | spec/models/video_response_items_spec.rb |
kuapir-0.1.2 | spec/models/video_response_items_spec.rb |