diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-02-28 22:40:53 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-02-28 22:40:53 -0800 |
commit | 410b6c1c97b6049a0afabcf88966a590f7b1c988 (patch) | |
tree | 04167ee93c4be6f61a147d03e7611df847619231 /spec/support | |
parent | 5f29b31fb9ed3eafcb249fb9e7056cf95497ae43 (diff) | |
download | chef-410b6c1c97b6049a0afabcf88966a590f7b1c988.tar.gz |
Remove constraints on specsnuke_old_specs
Run it all.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/shared/unit/script_resource.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared/unit/script_resource.rb b/spec/support/shared/unit/script_resource.rb index 83d7d9dfe6..3c158afd6b 100644 --- a/spec/support/shared/unit/script_resource.rb +++ b/spec/support/shared/unit/script_resource.rb @@ -30,7 +30,7 @@ shared_examples_for "a script resource" do expect(script_resource.resource_name).to eql(resource_name) end - it "should set command to nil on the resource", chef: ">= 13" do + it "should set command to nil on the resource" do expect(script_resource.command).to be nil end @@ -44,7 +44,7 @@ shared_examples_for "a script resource" do expect(script_resource.flags.strip).to eql("-f") end - it "should raise an exception if users set command on the resource", chef: ">= 13" do + it "should raise an exception if users set command on the resource" do expect { script_resource.command("foo") }.to raise_error(Chef::Exceptions::Script) end |