mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
Improve test expressiveness by using more direct assertions.
Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
06ceba3f3d
commit
99ded5a132
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ describe Inspec::LibraryEvalContext do
|
|||
|
||||
it "adds the resource to our registry" do
|
||||
eval_context.instance_eval(resource_content)
|
||||
_(registry.keys.include?("my_test_resource")).must_equal true
|
||||
_(registry.keys).must_include "my_test_resource"
|
||||
end
|
||||
|
||||
it "adds nothing to the default registry" do
|
||||
|
|
Loading…
Reference in a new issue