Replace backticks in test descriptions with single-quotes.

Backticks means you can't selectively run one of these tests w/o
subshelling out to `brew`, or having to edit first.

Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
Ryan Davis 2019-08-27 17:29:10 -07:00
parent 75ca4613c2
commit 6296fdc688

View file

@ -125,7 +125,7 @@ describe "Inspec::Resources::Package" do
end
# darwin (brew)
it "can parse ouptut from `brew` when package is installed" do
it "can parse ouptut from 'brew' when package is installed" do
resource = MockLoader.new(:osx104).load_resource("package", "curl")
pkg = { name: "curl", installed: true, version: "7.52.1", type: "brew" }
_(resource.installed?).must_equal true
@ -133,7 +133,7 @@ describe "Inspec::Resources::Package" do
_(resource.info).must_equal pkg
end
it "can parse ouptut from `brew` when package is not installed but exists" do
it "can parse ouptut from 'brew' when package is not installed but exists" do
resource = MockLoader.new(:osx104).load_resource("package", "nginx")
pkg = {}
_(resource.installed?).must_equal false
@ -141,7 +141,7 @@ describe "Inspec::Resources::Package" do
_(resource.info).must_equal pkg
end
it "returns {} when `brew` exits non-zero" do
it "returns {} when 'brew' exits non-zero" do
resource = MockLoader.new(:osx104).load_resource("package", "nope")
pkg = {}
_(resource.installed?).must_equal false