spec/models/upstream_spec.rb in ory-oathkeeper-client-0.40.6 vs spec/models/upstream_spec.rb in ory-oathkeeper-client-0.40.8

- old
+ new

@@ -1,14 +1,14 @@ =begin #ORY Oathkeeper #ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies. -The version of the OpenAPI document: v0.40.6 +The version of the OpenAPI document: v0.40.8 Contact: hi@ory.am Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.0.1 +Generator version: 7.7.0 =end require 'spec_helper' require 'json' @@ -20,27 +20,29 @@ describe OryOathkeeperClient::Upstream do let(:instance) { OryOathkeeperClient::Upstream.new } describe 'test an instance of Upstream' do it 'should create an instance of Upstream' do - expect(instance).to be_instance_of(OryOathkeeperClient::Upstream) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(OryOathkeeperClient::Upstream) end end + describe 'test attribute "preserve_host"' do it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end describe 'test attribute "strip_path"' do it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end describe 'test attribute "url"' do it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end end