=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::Project # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'Project' do before do # run before each test @instance = build(:project) end after do # run after each test end it_behaves_like "a generated class" do let(:instance) { @instance } let(:instance_hash) { { id: @instance.id, name: @instance.name, description: @instance.description, production: @instance.production, type: @instance.type, country: @instance.country, developer: @instance.developer, photos: @instance.photos, average_price_per_tonne_cents_usd: @instance.average_price_per_tonne_cents_usd, remaining_mass_g: @instance.remaining_mass_g, standard: @instance.standard } } let(:nullable_properties) { Set.new(["photos", "standard"]) } end describe 'test an instance of Project' do it 'should create an instance of Project' do expect(@instance).to be_instance_of(Patch::Project) 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 "name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "description"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "country"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "longitude"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "latitude"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "verifier"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "developer"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end