Sha256: 0624046b6cdb2bd6da469fbfab130399fca1eaaf77f39a2e87f5da478532434e

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

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

describe CukeQ do
  it "identifies this CukeQ instance" do
    Socket.stub!(:gethostname => "hostname")
    Etc.stub!(:getlogin => "login")
    Process.stub!(:pid => "pid")

    CukeQ.identifier.should == "hostname-login-pid"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cukeq-0.0.1.dev5 spec/cukeq/cukeq_spec.rb