Sha256: f815f7b4a9a114c8b6ea598bc89bdedcfb919fb74a5306aa70d42f4249390d7e

Contents?: true

Size: 390 Bytes

Versions: 3

Compression:

Stored size: 390 Bytes

Contents

require File.expand_path("../../spec_helper.rb", __FILE__)

describe UUIDTools::UUID, "when obtaining a MAC address" do
  before do
    @mac_address = UUIDTools::UUID.mac_address
  end

  it "should obtain a MAC address" do
    @mac_address.should_not be_nil
  end

  it "should cache the MAC address" do
    @mac_address.object_id.should == UUIDTools::UUID.mac_address.object_id
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
uuidtools-2.1.3 spec/uuidtools/mac_address_spec.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/uuidtools-2.1.2/spec/uuidtools/mac_address_spec.rb
uuidtools-2.1.2 spec/uuidtools/mac_address_spec.rb