Sha256: 72cb226a5425ffdab6823bdda1bfe791553ec51f2d5fc969520383e53455c457

Contents?: true

Size: 1.19 KB

Versions: 21

Compression:

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

  after do
    # run after each test
  end

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

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

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

21 entries across 21 versions & 1 rubygems

Version Path
patch_ruby-1.2.5 spec/models/create_preference_request_spec.rb