Sha256: 12c6f10bdedb048035a7d78db04c86161ac1e02e1489d5cca727ac5774cafd2c

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

require 'spec_helper'

require 'state_mate/adapters/defaults'

describe "StateMate::Adapters::Defaults.hardware_uuid" do
  let(:defaults) {
    StateMate::Adapters::Defaults
  }

  it "returns something that looks like an apple hardware uuid" do
    expect( defaults.hardware_uuid ).to(
      match /[0-9A-F]{8}\-[0-9A-F]{4}\-[0-9A-F]{4}\-[0-9A-F]{4}\-[0-9A-F]{12}/
    )
  end
end # hardware_uuid

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
state_mate-0.0.3 spec/state_mate/adapters/defaults/hardware_uuid_spec.rb
state_mate-0.0.2 spec/state_mate/adapters/defaults/hardware_uuid_spec.rb
state_mate-0.0.1 spec/state_mate/adapters/defaults/hardware_uuid_spec.rb