summaryrefslogtreecommitdiff
path: root/spec/functions/is_integer_spec.rb
diff options
context:
space:
mode:
authorHelen Campbell <helen@puppetlabs.com>2016-10-03 14:12:32 +0100
committerHelen Campbell <helen@puppetlabs.com>2016-10-03 14:12:32 +0100
commit8a8ebc4850abe4996056a2700a6a50ac7666a922 (patch)
tree4b5c00e27043d10a0cd9ad3722266462c6b6bc85 /spec/functions/is_integer_spec.rb
parent75a35675cad0bc2fef03c74a5a3bcc28fff9f9d0 (diff)
Replace :context with :all in spec tests
Diffstat (limited to 'spec/functions/is_integer_spec.rb')
-rwxr-xr-xspec/functions/is_integer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functions/is_integer_spec.rb b/spec/functions/is_integer_spec.rb
index 4b5dd21..b296830 100755
--- a/spec/functions/is_integer_spec.rb
+++ b/spec/functions/is_integer_spec.rb
@@ -26,7 +26,7 @@ describe 'is_integer' do
it { is_expected.to run.with_params('0001234').and_return(false) }
context 'Checking for deprecation warning' do
- after(:context) do
+ after(:all) do
ENV.delete('STDLIB_LOG_DEPRECATIONS')
end
# Checking for deprecation warning, which should only be provoked when the env variable for it is set.