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