Sha256: 813453b42de361ae409cda3f2f3c8219c8e4df9e5a603db8dd3cff97b466e932

Contents?: true

Size: 1.38 KB

Versions: 27

Compression:

Stored size: 1.38 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::MetaIndexObject
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'MetaIndexObject' do
  before do
    # run before each test
    @instance = build(:meta_index_object)
  end

  after do
    # run after each test
  end

  it_behaves_like "a generated class" do
    let(:instance) { @instance }
    let(:instance_hash) { { next_page: @instance.next_page, prev_page: @instance.prev_page } }
    let(:nullable_properties) { Set.new([:next_page, :prev_page]) }
  end

  describe 'test an instance of MetaIndexObject' do
    it 'should create an instance of MetaIndexObject' do
      expect(@instance).to be_instance_of(Patch::MetaIndexObject)
    end
  end
  describe 'test attribute "prev_page"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "next_page"' 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

27 entries across 27 versions & 1 rubygems

Version Path
patch_ruby-1.13.0 spec/models/meta_index_object_spec.rb
patch_ruby-1.12.0 spec/models/meta_index_object_spec.rb
patch_ruby-1.11.1 spec/models/meta_index_object_spec.rb
patch_ruby-1.11.0 spec/models/meta_index_object_spec.rb
patch_ruby-1.10.2 spec/models/meta_index_object_spec.rb
patch_ruby-1.10.1 spec/models/meta_index_object_spec.rb
patch_ruby-1.10.0 spec/models/meta_index_object_spec.rb