diff options
Diffstat (limited to 'spec/unit/deprecation_spec.rb')
-rw-r--r-- | spec/unit/deprecation_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/deprecation_spec.rb b/spec/unit/deprecation_spec.rb index f0f01db567..f824cb7c76 100644 --- a/spec/unit/deprecation_spec.rb +++ b/spec/unit/deprecation_spec.rb @@ -92,8 +92,7 @@ describe Chef::Deprecation do # rspec should set this expect(Chef::Config[:treat_deprecation_warnings_as_errors]).to be true test_instance = TestClass.new - test_instance.deprecated_method(10) - expect { test_instance.get_value }.to raise_error(Chef::Exceptions::DeprecatedFeatureError) + expect { test_instance.deprecated_method(10) }.to raise_error(Chef::Exceptions::DeprecatedFeatureError) end end |