Sha256: f406eeddc265957f02c60701a25a2bbcbf20fc50b4180163b56a4dfdb9452fb1

Contents?: true

Size: 1.53 KB

Versions: 12

Compression:

Stored size: 1.53 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::ErrorResponse
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'ErrorResponse' do
  before do
    # run before each test
    @instance = build(:error_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 } }
    let(:nullable_properties) { Set.new([:data]) }
  end

  describe 'test an instance of ErrorResponse' do
    it 'should create an instance of ErrorResponse' do
      expect(@instance).to be_instance_of(Patch::ErrorResponse)
    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
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
patch_ruby-1.16.0 spec/models/error_response_spec.rb
patch_ruby-1.15.2 spec/models/error_response_spec.rb
patch_ruby-1.15.1 spec/models/error_response_spec.rb
patch_ruby-1.15.0 spec/models/error_response_spec.rb
patch_ruby-1.14.0 spec/models/error_response_spec.rb
patch_ruby-1.13.0 spec/models/error_response_spec.rb
patch_ruby-1.12.0 spec/models/error_response_spec.rb
patch_ruby-1.11.1 spec/models/error_response_spec.rb
patch_ruby-1.11.0 spec/models/error_response_spec.rb
patch_ruby-1.10.2 spec/models/error_response_spec.rb
patch_ruby-1.10.1 spec/models/error_response_spec.rb
patch_ruby-1.10.0 spec/models/error_response_spec.rb