spec/client_spec.rb in sendgrid4r-1.5.1 vs spec/client_spec.rb in sendgrid4r-1.6.0
- old
+ new
@@ -275,15 +275,23 @@
expect(@client.respond_to?('patch_api_key')).to eq(true)
expect(@client.respond_to?('put_api_key')).to eq(true)
# Permissions
expect(@client.respond_to?('get_permissions')).to eq(true)
+
+ # Ip Access Management
+ expect(@client.respond_to?('get_ip_activities')).to eq(true)
+ expect(@client.respond_to?('get_whitelisted_ips')).to eq(true)
+ expect(@client.respond_to?('post_whitelisted_ips')).to eq(true)
+ expect(@client.respond_to?('delete_whitelisted_ips')).to eq(true)
+ expect(@client.respond_to?('get_whitelisted_ip')).to eq(true)
+ expect(@client.respond_to?('delete_whitelisted_ip')).to eq(true)
end
end
describe 'VERSION' do
it 'returns VERSION value' do
- expect(SendGrid4r::VERSION).to eq('1.5.1')
+ expect(SendGrid4r::VERSION).to eq('1.6.0')
end
end
end
end