diff options
| author | Chris Doherty <cdoherty@getchef.com> | 2014-09-04 11:25:03 -0700 |
|---|---|---|
| committer | Chris Doherty <cdoherty@getchef.com> | 2014-09-10 16:34:20 -0700 |
| commit | c08b50bd7e9022ca58cc0e4da9fdf09b6ad954d9 (patch) | |
| tree | 204d799f2dd514200df3a8ba42cdb0e17322440d /spec/unit/dsl | |
| parent | bc85c98c94fe27532e32f02362f5b95a8eaa82aa (diff) | |
| download | chef-c08b50bd7e9022ca58cc0e4da9fdf09b6ad954d9.tar.gz | |
reboot_pending? no longer has unsupported platforms, so remove the test for it.
Diffstat (limited to 'spec/unit/dsl')
| -rw-r--r-- | spec/unit/dsl/reboot_pending_spec.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/unit/dsl/reboot_pending_spec.rb b/spec/unit/dsl/reboot_pending_spec.rb index 8576ae168a..0d643514e0 100644 --- a/spec/unit/dsl/reboot_pending_spec.rb +++ b/spec/unit/dsl/reboot_pending_spec.rb @@ -21,7 +21,7 @@ require "spec_helper" describe Chef::DSL::RebootPending do describe "reboot_pending?" do - describe "in isoloation" do + describe "in isolation" do let(:recipe) { Object.new.extend(Chef::DSL::RebootPending) } before do @@ -74,12 +74,6 @@ describe Chef::DSL::RebootPending do end end - context "platform is not supported" do - it 'should raise an exception' do - recipe.stub_chain(:node, :[]).with(:platform).and_return('msdos') - expect { recipe.reboot_pending? }.to raise_error(Chef::Exceptions::UnsupportedPlatform) - end - end end # describe in isolation describe "in a recipe" do |
