Sha256: fa82db075f305209ad75eb77669067f865944d677af4605264ef02b69c5c6b7c

Contents?: true

Size: 265 Bytes

Versions: 6

Compression:

Stored size: 265 Bytes

Contents

require 'spec_helper'
require 'nmap/address'

describe Address do
  describe "#to_s" do
    let(:addr) { '127.0.0.1' }

    subject { described_class.new(:ipv4, addr) }

    it "should return the address" do
      expect(subject.to_s).to eq(addr)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-nmap-0.10.0 spec/address_spec.rb
ruby-nmap-0.9.3 spec/address_spec.rb
ruby-nmap-0.9.2 spec/address_spec.rb
ruby-nmap-0.9.1 spec/address_spec.rb
ruby-nmap-0.9.0 spec/address_spec.rb
ruby-nmap-0.8.0 spec/address_spec.rb