=begin #Square Connect API OpenAPI spec version: 2.0 Contact: developers@squareup.com Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' require 'date' # Unit tests for SquareConnect::V1EmployeeRole # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'V1EmployeeRole' do before do # run before each test @instance = SquareConnect::V1EmployeeRole.new end after do # run after each test end describe 'test an instance of V1EmployeeRole' do it 'should create an instact of V1EmployeeRole' do expect(@instance).to be_instance_of(SquareConnect::V1EmployeeRole) 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 "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 "permissions"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers #validator = Petstore::EnumTest::EnumAttributeValidator.new('Array', ["REGISTER_ACCESS_SALES_HISTORY", "REGISTER_APPLY_RESTRICTED_DISCOUNTS", "REGISTER_CHANGE_SETTINGS", "REGISTER_EDIT_ITEM", "REGISTER_ISSUE_REFUNDS", "REGISTER_OPEN_CASH_DRAWER_OUTSIDE_SALE", "REGISTER_VIEW_SUMMARY_REPORTS"]) #validator.allowable_values.each do |value| # expect { @instance.permissions = value }.not_to raise_error #end end end describe 'test attribute "is_owner"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "updated_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end