spec/models/update_webhook_spec.rb in sib-api-v3-sdk-2.1.0 vs spec/models/update_webhook_spec.rb in sib-api-v3-sdk-2.1.1
- old
+ new
@@ -45,9 +45,13 @@
end
describe 'test attribute "events"' 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<String>', ["hardBounce", "softBounce", "blocked", "spam", "delivered", "request", "click", "invalid", "deferred", "opened", "uniqueOpened", "unsubscribed", "listAddition"])
+ #validator.allowable_values.each do |value|
+ # expect { @instance.events = value }.not_to raise_error
+ #end
end
end
end