spec/models/report_info_spec.rb in SematextCloud-0.3.1 vs spec/models/report_info_spec.rb in SematextCloud-0.4.0

- old
+ new

@@ -4,34 +4,40 @@ #API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. OpenAPI spec version: v3 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 3.0.25 +Swagger Codegen version: 3.0.30 =end require 'spec_helper' require 'json' require 'date' -# Unit tests for stcloud::ReportInfo +# Unit tests for SematextCloud::ReportInfo # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ReportInfo' do before do # run before each test - @instance = stcloud::ReportInfo.new + @instance = SematextCloud::ReportInfo.new end after do # run after each test end describe 'test an instance of ReportInfo' do it 'should create an instance of ReportInfo' do - expect(@instance).to be_instance_of(stcloud::ReportInfo) + expect(@instance).to be_instance_of(SematextCloud::ReportInfo) end end + describe 'test attribute "additional_params"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "addresses"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end