Sha256: acb8a6083e4f135af35ff6a1ee11662aa48eb533c2474d085f63d77ab7ff4b23

Contents?: true

Size: 171 Bytes

Versions: 159

Compression:

Stored size: 171 Bytes

Contents

require 'spec_helper'

set :os, { :family => nil }

describe get_command(:count_process, 'foo') do
  it { should eq 'ps aux | grep -w -- foo | grep -v grep | wc -l' }
end

Version data entries

159 entries across 159 versions & 1 rubygems

Version Path
specinfra-2.82.5 spec/command/base/process_spec.rb
specinfra-2.82.4 spec/command/base/process_spec.rb
specinfra-2.82.3 spec/command/base/process_spec.rb
specinfra-2.82.2 spec/command/base/process_spec.rb
specinfra-2.82.1 spec/command/base/process_spec.rb
specinfra-2.82.0 spec/command/base/process_spec.rb
specinfra-2.81.0 spec/command/base/process_spec.rb
specinfra-2.80.0 spec/command/base/process_spec.rb
specinfra-2.79.0 spec/command/base/process_spec.rb
specinfra-2.78.2 spec/command/base/process_spec.rb
specinfra-2.78.1 spec/command/base/process_spec.rb
specinfra-2.78.0 spec/command/base/process_spec.rb
specinfra-2.77.3 spec/command/base/process_spec.rb
specinfra-2.77.2 spec/command/base/process_spec.rb
specinfra-2.77.1 spec/command/base/process_spec.rb
specinfra-2.77.0 spec/command/base/process_spec.rb
specinfra-2.76.9 spec/command/base/process_spec.rb
specinfra-2.76.8 spec/command/base/process_spec.rb
specinfra-2.76.7 spec/command/base/process_spec.rb
specinfra-2.76.6 spec/command/base/process_spec.rb