Sha256: abbd6898f6a8f37b7c992469c0f4582e5ac001dbfcde7880b3a3fa848019b63f

Contents?: true

Size: 1.81 KB

Versions: 7

Compression:

Stored size: 1.81 KB

Contents

=begin
#Subskribe API

#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: 1.0.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 2.4.41

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for SubskribeDevClient::UnitOfMeasureJson
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'UnitOfMeasureJson' do
  before do
    # run before each test
    @instance = SubskribeDevClient::UnitOfMeasureJson.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of UnitOfMeasureJson' do
    it 'should create an instance of UnitOfMeasureJson' do
      expect(@instance).to be_instance_of(SubskribeDevClient::UnitOfMeasureJson)
    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 "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 "status"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
      # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["DRAFT", "ACTIVE", "DEPRECATED"])
      # validator.allowable_values.each do |value|
      #   expect { @instance.status = value }.not_to raise_error
      # end
    end
  end

end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
subskribe_sandbox-1.0.1 spec/models/unit_of_measure_json_spec.rb
subskribe_dev2-1.3.2 spec/models/unit_of_measure_json_spec.rb
subskribe_dev-1.3.1 spec/models/unit_of_measure_json_spec.rb
subskribe_dev-1.3.0 spec/models/unit_of_measure_json_spec.rb
subskribe_sandbox-1.0.0 spec/models/unit_of_measure_json_spec.rb
subskribe_dev-1.2.0 spec/models/unit_of_measure_json_spec.rb
subskribe_dev-1.1.0 spec/models/unit_of_measure_json_spec.rb