Sha256: 1af25316da5c997feae6c25785f17d3a041bdac97c741690cb9dc104178b6fd8
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 KB
Contents
=begin #LaunchDarkly REST API #Build custom integrations with the LaunchDarkly REST API OpenAPI spec version: 3.1.0 Contact: support@launchdarkly.com Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.8 =end require 'spec_helper' require 'json' require 'date' # Unit tests for LaunchDarklyApi::DestinationBody # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'DestinationBody' do before do # run before each test @instance = LaunchDarklyApi::DestinationBody.new end after do # run after each test end describe 'test an instance of DestinationBody' do it 'should create an instance of DestinationBody' do expect(@instance).to be_instance_of(LaunchDarklyApi::DestinationBody) 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 "kind"' 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', ["google-pubsub", "kinesis", "mparticle", "segment"]) # validator.allowable_values.each do |value| # expect { @instance.kind = value }.not_to raise_error # end end end describe 'test attribute "config"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "on"' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
launchdarkly_api-3.1.0 | spec/models/destination_body_spec.rb |