diff options
author | Helen Campbell <helen@puppetlabs.com> | 2016-10-03 14:12:32 +0100 |
---|---|---|
committer | Helen Campbell <helen@puppetlabs.com> | 2016-10-03 14:12:32 +0100 |
commit | 8a8ebc4850abe4996056a2700a6a50ac7666a922 (patch) | |
tree | 4b5c00e27043d10a0cd9ad3722266462c6b6bc85 /spec/functions/validate_hash_spec.rb | |
parent | 75a35675cad0bc2fef03c74a5a3bcc28fff9f9d0 (diff) |
Replace :context with :all in spec tests
Diffstat (limited to 'spec/functions/validate_hash_spec.rb')
-rwxr-xr-x | spec/functions/validate_hash_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functions/validate_hash_spec.rb b/spec/functions/validate_hash_spec.rb index 7b118e2..7533abe 100755 --- a/spec/functions/validate_hash_spec.rb +++ b/spec/functions/validate_hash_spec.rb @@ -6,7 +6,7 @@ describe 'validate_hash' do it { is_expected.to run.with_params().and_raise_error(Puppet::ParseError, /wrong number of arguments/i) } describe 'check for deprecation warning' do - after(:context) do + after(:all) do ENV.delete('STDLIB_LOG_DEPRECATIONS') end # Checking for deprecation warning |