Sha256: c1f5c93f9c147f3a38b5015706b3602ffbcc354fd4e4fe6c426449aac994201b

Contents?: true

Size: 241 Bytes

Versions: 12

Compression:

Stored size: 241 Bytes

Contents

require "helper"

describe Fog::Bouncer::Sources::CIDR do
  subject { Fog::Bouncer::Sources::CIDR }

  it "only supports valid CIDR ranges" do
    lambda { subject.new("1234.5678.9012.3456/999999", nil) }.must_raise(ArgumentError)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fog-bouncer-0.2.7 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.2.6 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.2.5 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.2.4 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.2.3 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.2.2 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.2.1 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.2.0 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.1.1 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.1.0 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.0.8 spec/fog/bouncer/sources/cidr_spec.rb
fog-bouncer-0.0.6 spec/fog/bouncer/sources/cidr_spec.rb