Sha256: d4b40567b8bda99bfbbfce9d621d0507837b981ceafbad415819ba520ff6c265

Contents?: true

Size: 1.77 KB

Versions: 10

Compression:

Stored size: 1.77 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::ProjectListResponse
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'ProjectListResponse' do
  before do
    # run before each test
    @instance = build(:project_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 ProjectListResponse' do
    it 'should create an instance of ProjectListResponse' do
      expect(@instance).to be_instance_of(Patch::ProjectListResponse)
    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

10 entries across 10 versions & 1 rubygems

Version Path
patch_ruby-1.9.0 spec/models/project_list_response_spec.rb
patch_ruby-1.8.0 spec/models/project_list_response_spec.rb
patch_ruby-1.7.0 spec/models/project_list_response_spec.rb
patch_ruby-1.6.0 spec/models/project_list_response_spec.rb
patch_ruby-1.5.2 spec/models/project_list_response_spec.rb
patch_ruby-1.5.1 spec/models/project_list_response_spec.rb
patch_ruby-1.5.0 spec/models/project_list_response_spec.rb
patch_ruby-1.4.0 spec/models/project_list_response_spec.rb
patch_ruby-1.3.0 spec/models/project_list_response_spec.rb
patch_ruby-1.2.5 spec/models/project_list_response_spec.rb