Sha256: 553c904a926ffc99157d9885f5377400f507b75099ae943b4d404be7d677c72f

Contents?: true

Size: 1.66 KB

Versions: 2

Compression:

Stored size: 1.66 KB

Contents

=begin
#Moderation API

#API for automated content moderation

The version of the OpenAPI document: 1.0.0

Generated by: https://openapi-generator.tech
Generator version: 7.10.0

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for ModerationAPI::ModerationObjectRequestValueDataValue
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe ModerationAPI::ModerationObjectRequestValueDataValue do
  let(:instance) { ModerationAPI::ModerationObjectRequestValueDataValue.new }

  describe 'test an instance of ModerationObjectRequestValueDataValue' do
    it 'should create an instance of ModerationObjectRequestValueDataValue' do
      # uncomment below to test the instance creation
      #expect(instance).to be_instance_of(ModerationAPI::ModerationObjectRequestValueDataValue)
    end
  end

  describe 'test attribute "type"' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
      # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["text", "image", "video", "audio", "unknown_default_open_api"])
      # validator.allowable_values.each do |value|
      #   expect { instance.type = value }.not_to raise_error
      # end
    end
  end

  describe 'test attribute "value"' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  describe 'test attribute "model_ids"' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
moderation_api-1.2.1 spec/models/moderation_object_request_value_data_value_spec.rb
moderation_api-1.2.0 spec/models/moderation_object_request_value_data_value_spec.rb