Sha256: f3b65687bd601cbf31babe72bf1e3bdf37b79b08562b621103ff5f80e84ba1ee

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

require 'spec_helper'

describe LitmusPaper::DeferredFacter do
  run_in_reactor

  describe "value" do
    it "executes Facter access on another thread" do
      processors = LitmusPaper::DeferredFacter.value("processorcount")
      processors.should match(/\d+/)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
litmus_paper-0.2.2 spec/litmus_paper/deferred_facter_spec.rb
litmus_paper-0.2.1 spec/litmus_paper/deferred_facter_spec.rb
litmus_paper-0.2.0 spec/litmus_paper/deferred_facter_spec.rb