Sha256: 976fef9e61d51536a9efda50fa5f97376481784dc9647db0cf3d357476ecbb2f
Contents?: true
Size: 1.78 KB
Versions: 11
Compression:
Stored size: 1.78 KB
Contents
=begin #Patch API V1 #The core API used to integrate with Patch's service The version of the OpenAPI document: v1 Contact: developers@usepatch.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'spec_helper' require 'json' require 'date' # Unit tests for Patch::PreferenceListResponse # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PreferenceListResponse' do before do # run before each test @instance = build(:preference_list_response) end after do # run after each test end it_behaves_like "a generated class" do let(:instance) { @instance } let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data, meta: @instance.meta } } let(:nullable_properties) { Set.new([:error]) } end describe 'test an instance of PreferenceListResponse' do it 'should create an instance of PreferenceListResponse' do expect(@instance).to be_instance_of(Patch::PreferenceListResponse) end end describe 'test attribute "success"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "error"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "data"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "meta"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
11 entries across 11 versions & 1 rubygems