Sha256: 24f47928067ea5145967a8168d0e630383af635eb0f677fb045bdbc0f37b0ee1

Contents?: true

Size: 481 Bytes

Versions: 20

Compression:

Stored size: 481 Bytes

Contents

require 'spec_helper'
describe Auth0::Api::V2::Anomaly do
  let(:client) { Auth0Client.new(v2_creds) }
  let(:ip) { '192.0.2.0' }

  describe '.check_if_ip_is_blocked', vcr: true do
    it 'should return 200 response code' do
      expect { client.check_if_ip_is_blocked(ip) }.to_not raise_error
    end
  end

  describe '.remove_ip_block', vcr: true do
    it 'should remove an IP successfully' do
      expect { client.remove_ip_block(ip) }.to_not raise_error
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
auth0-5.5.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-5.4.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-5.3.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-5.2.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-5.1.2 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-5.1.1 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-5.1.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-5.0.1 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-5.0.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.17.1 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.17.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.16.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.15.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.14.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.13.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.12.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.11.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.10.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.9.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb
auth0-4.8.0 spec/integration/lib/auth0/api/v2/api_anomaly_spec.rb