Sha256: e250968265ccdf95416fc6b77c23d2c8c8d51d07e95e44649853f46f75858140

Contents?: true

Size: 1.71 KB

Versions: 27

Compression:

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

  after do
    # run after each test
  end

  it_behaves_like "a generated class" do
    let(:instance) { @instance }
    let(:instance_hash) { { id: @instance.id, order: @instance.order.to_hash, production: @instance.production, type: @instance.type } }
    let(:nullable_properties) { Set.new([:order]) }
  end

  describe 'test an instance of Estimate' do
    it 'should create an instance of Estimate' do
      expect(@instance).to be_instance_of(Patch::Estimate)
    end
  end

  describe 'test attribute "id"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "production"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "type"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "order"' 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-2.3.0 spec/models/estimate_spec.rb
patch_ruby-2.1.1 spec/models/estimate_spec.rb
patch_ruby-2.0.0 spec/models/estimate_spec.rb
patch_ruby-1.24.2 spec/models/estimate_spec.rb
patch_ruby-1.24.1 spec/models/estimate_spec.rb
patch_ruby-1.24.0 spec/models/estimate_spec.rb
patch_ruby-1.23.0 spec/models/estimate_spec.rb
patch_ruby-1.22.0 spec/models/estimate_spec.rb
patch_ruby-1.21.0 spec/models/estimate_spec.rb
patch_ruby-1.20.0 spec/models/estimate_spec.rb
patch_ruby-1.19.0 spec/models/estimate_spec.rb
patch_ruby-1.18.0 spec/models/estimate_spec.rb
patch_ruby-1.17.1 spec/models/estimate_spec.rb
patch_ruby-1.17.0 spec/models/estimate_spec.rb
patch_ruby-1.16.1 spec/models/estimate_spec.rb
patch_ruby-1.16.0 spec/models/estimate_spec.rb
patch_ruby-1.15.2 spec/models/estimate_spec.rb
patch_ruby-1.15.1 spec/models/estimate_spec.rb
patch_ruby-1.15.0 spec/models/estimate_spec.rb
patch_ruby-1.14.0 spec/models/estimate_spec.rb