Sha256: aade6f29a39e326fe20381d2cda69752aedc04fc089d03fded9d32361140a094

Contents?: true

Size: 319 Bytes

Versions: 10

Compression:

Stored size: 319 Bytes

Contents

require 'spec_helper'
require 'approvals/system_command'

describe Approvals::SystemCommand, "#exists?" do

  it "does" do
    expect(Approvals::SystemCommand.exists?("ls")).to be_truthy
  end

  it "does not" do
    expect(Approvals::SystemCommand.exists?("absolutelydoesnotexistonyoursystem")).to be_falsey
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
approvals-0.0.26 spec/system_command_spec.rb
approvals-0.0.25 spec/system_command_spec.rb
approvals-0.0.24 spec/system_command_spec.rb
br-approvals-0.0.22 spec/system_command_spec.rb
approvals-0.0.22 spec/system_command_spec.rb
approvals-0.0.21 spec/system_command_spec.rb
approvals-0.0.20 spec/system_command_spec.rb
approvals-0.0.19 spec/system_command_spec.rb
approvals-0.0.18 spec/system_command_spec.rb
approvals-0.0.17 spec/system_command_spec.rb