Sha256: cf47c578cc77a1f1aca7d2ffcd8a95319f25bfb7d663c859de37e615e7d230c4

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: 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::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 "not_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 "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 "not_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 "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-5.0.1 spec/models/statement_spec.rb