Sha256: 487e23425c99d662bef55a200f935d8a58c6abd85d72ed11fe840a3517cefd15

Contents?: true

Size: 1.51 KB

Versions: 34

Compression:

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

  after do
    # run after each test
  end

  it_behaves_like "a generated class" do
    let(:instance) { @instance }
    let(:instance_hash) { { id: @instance.id, mass_g: @instance.mass_g, production: @instance.production } }
    let(:nullable_properties) { Set.new }
  end

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

34 entries across 34 versions & 1 rubygems

Version Path
patch_ruby-1.24.2 spec/models/allocation_spec.rb
patch_ruby-1.24.1 spec/models/allocation_spec.rb
patch_ruby-1.24.0 spec/models/allocation_spec.rb
patch_ruby-1.23.0 spec/models/allocation_spec.rb
patch_ruby-1.22.0 spec/models/allocation_spec.rb
patch_ruby-1.21.0 spec/models/allocation_spec.rb
patch_ruby-1.20.0 spec/models/allocation_spec.rb
patch_ruby-1.19.0 spec/models/allocation_spec.rb
patch_ruby-1.18.0 spec/models/allocation_spec.rb
patch_ruby-1.17.1 spec/models/allocation_spec.rb
patch_ruby-1.17.0 spec/models/allocation_spec.rb
patch_ruby-1.16.1 spec/models/allocation_spec.rb
patch_ruby-1.16.0 spec/models/allocation_spec.rb
patch_ruby-1.15.2 spec/models/allocation_spec.rb
patch_ruby-1.15.1 spec/models/allocation_spec.rb
patch_ruby-1.15.0 spec/models/allocation_spec.rb
patch_ruby-1.14.0 spec/models/allocation_spec.rb
patch_ruby-1.13.0 spec/models/allocation_spec.rb
patch_ruby-1.12.0 spec/models/allocation_spec.rb
patch_ruby-1.11.1 spec/models/allocation_spec.rb