Sha256: 75ae0a067e3a6e19991dfa35886503f0b01e3fe371d4a6da4d4d88419369fb40
Contents?: true
Size: 1.72 KB
Versions: 1
Compression:
Stored size: 1.72 KB
Contents
=begin #Ory APIs #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. The version of the OpenAPI document: v1.9.0 Contact: support@ory.sh Generated by: https://openapi-generator.tech OpenAPI Generator version: 7.3.0 =end require 'spec_helper' require 'json' require 'date' # Unit tests for OryClient::MigrationOptions # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe OryClient::MigrationOptions do let(:instance) { OryClient::MigrationOptions.new } describe 'test an instance of MigrationOptions' do it 'should create an instance of MigrationOptions' do # uncomment below to test the instance creation #expect(instance).to be_instance_of(OryClient::MigrationOptions) end end describe 'test attribute "environment"' 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', ["prod", "dev"]) # validator.allowable_values.each do |value| # expect { instance.environment = value }.not_to raise_error # end end end describe 'test attribute "project_subscription"' 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', ["migrate", "ignore"]) # validator.allowable_values.each do |value| # expect { instance.project_subscription = value }.not_to raise_error # end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ory-client-1.9.0 | spec/models/migration_options_spec.rb |