spec/models/entitlements_create_spec.rb in cloudsmith-api-1.61.3 vs spec/models/entitlements_create_spec.rb in cloudsmith-api-1.120.3
- old
+ new
@@ -51,10 +51,14 @@
end
describe 'test attribute "limit_bandwidth_unit"' 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', ["Byte", "Kilobyte", "Megabyte", "Gigabyte", "Terabyte", "Petabyte", "Exabyte", "Zettabyte", "Yottabyte"])
+ # validator.allowable_values.each do |value|
+ # expect { @instance.limit_bandwidth_unit = value }.not_to raise_error
+ # end
end
end
describe 'test attribute "limit_date_range_from"' do
it 'should work' do
@@ -111,9 +115,13 @@
end
describe 'test attribute "scheduled_reset_period"' 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', ["Never Reset", "Daily", "Weekly", "Fortnightly", "Monthly", "Bi-Monthly", "Quarterly", "Every 6 months", "Annual"])
+ # validator.allowable_values.each do |value|
+ # expect { @instance.scheduled_reset_period = value }.not_to raise_error
+ # end
end
end
describe 'test attribute "token"' do
it 'should work' do