Sha256: 10639e04918fcf45a6ef2e6daf5cfb229f9d2be8b7d0ca1c00c5ef8fa684c41b
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
=begin #LaunchDarkly REST API #Build custom integrations with the LaunchDarkly REST API OpenAPI spec version: 5.0.1 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::ApprovalRequestReviewConfigBody # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ApprovalRequestReviewConfigBody' do before do # run before each test @instance = LaunchDarklyApi::ApprovalRequestReviewConfigBody.new end after do # run after each test end describe 'test an instance of ApprovalRequestReviewConfigBody' do it 'should create an instance of ApprovalRequestReviewConfigBody' do expect(@instance).to be_instance_of(LaunchDarklyApi::ApprovalRequestReviewConfigBody) 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', ["approve", "decline", "comment"]) # validator.allowable_values.each do |value| # expect { @instance.kind = value }.not_to raise_error # end end end describe 'test attribute "comment"' 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-5.0.1 | spec/models/approval_request_review_config_body_spec.rb |