spec/models/user_permissions_spec.rb in SematextCloud-0.3.1 vs spec/models/user_permissions_spec.rb in SematextCloud-0.4.0
- old
+ new
@@ -4,32 +4,32 @@
#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::UserPermissions
+# Unit tests for SematextCloud::UserPermissions
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'UserPermissions' do
before do
# run before each test
- @instance = stcloud::UserPermissions.new
+ @instance = SematextCloud::UserPermissions.new
end
after do
# run after each test
end
describe 'test an instance of UserPermissions' do
it 'should create an instance of UserPermissions' do
- expect(@instance).to be_instance_of(stcloud::UserPermissions)
+ expect(@instance).to be_instance_of(SematextCloud::UserPermissions)
end
end
describe 'test attribute "can_delete"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers