diff options
author | Erik Gomez <e@eriknicolasgomez.com> | 2018-04-06 10:38:48 -0500 |
---|---|---|
committer | Erik Gomez <e@eriknicolasgomez.com> | 2018-04-06 10:38:48 -0500 |
commit | cb8d7c6177e5386136bb6958ea90701d612748d9 (patch) | |
tree | 3e9119df6e3821105b233ebbecc81b8d8308b70f | |
parent | 4c23b44d231e298f239eac7ca1f8735272557738 (diff) | |
download | chef-cb8d7c6177e5386136bb6958ea90701d612748d9.tar.gz |
remove invalid coercing unit tests
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
-rw-r--r-- | spec/unit/resource/macos_user_defaults_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/unit/resource/macos_user_defaults_spec.rb b/spec/unit/resource/macos_user_defaults_spec.rb index 6ef82853cc..8787cd0b9a 100644 --- a/spec/unit/resource/macos_user_defaults_spec.rb +++ b/spec/unit/resource/macos_user_defaults_spec.rb @@ -28,18 +28,4 @@ describe Chef::Resource::MacosUserDefaults do it "has a default action of install" do expect(resource.action).to eql([:write]) end - - [true, "TRUE", "1", "true", "YES", "yes"].each do |val| - it "coerces value property from #{val} to 1" do - resource.value val - expect(resource.value).to eql(1) - end - end - - [false, "FALSE", "0", "false", "NO", "no"].each do |val| - it "coerces value property from #{val} to 0" do - resource.value val - expect(resource.value).to eql(0) - end - end end |