diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-11 16:40:08 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-14 12:51:58 -0800 |
commit | ab8471e301a4e31a40546d49a3c57b9efebda76e (patch) | |
tree | 106a7afc6523f5806535188f91852e1ae15890dc /spec/support/shared/unit | |
parent | 4ce69808f22a1b401f510075744e0a571831dd1e (diff) | |
download | chef-ab8471e301a4e31a40546d49a3c57b9efebda76e.tar.gz |
fix typo
Diffstat (limited to 'spec/support/shared/unit')
-rw-r--r-- | spec/support/shared/unit/provider/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/unit/provider/file.rb b/spec/support/shared/unit/provider/file.rb index c05157e45c..973cb047f7 100644 --- a/spec/support/shared/unit/provider/file.rb +++ b/spec/support/shared/unit/provider/file.rb @@ -473,7 +473,7 @@ shared_examples_for Chef::Provider::File do end it "raises an exception if any verification fails" do - allow(Fille).to receive(:directory?).with("C:\\Windows\\system32/cmd.exe").and_return(false) + allow(File).to receive(:directory?).with("C:\\Windows\\system32/cmd.exe").and_return(false) provider.new_resource.verify windows? ? "REM" : "true" provider.new_resource.verify windows? ? "cmd.exe /c exit 1" : "false" expect{provider.send(:do_validate_content)}.to raise_error(Chef::Exceptions::ValidationFailed) |