Sha256: f5fea12c40ed5fb4651decd08c38192e6823ac436b2f5c741f5bd2754099e42c
Contents?: true
Size: 1.55 KB
Versions: 21
Compression:
Stored size: 1.55 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::Preference # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'Preference' do before do # run before each test @instance = build(:preference) end after do # run after each test end it_behaves_like "a generated class" do let(:instance) { @instance } let(:instance_hash) { { id: @instance.id, project: @instance.project.to_hash, allocation_percentage: @instance.allocation_percentage } } let(:nullable_properties) { Set.new } end describe 'test an instance of Preference' do it 'should create an instance of Preference' do expect(@instance).to be_instance_of(Patch::Preference) 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 "allocation_percentage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "project"' 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