summaryrefslogtreecommitdiff
path: root/spec/functions/validate_bool_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functions/validate_bool_spec.rb')
-rwxr-xr-xspec/functions/validate_bool_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/functions/validate_bool_spec.rb b/spec/functions/validate_bool_spec.rb
index 4bd1453..8b7e438 100755
--- a/spec/functions/validate_bool_spec.rb
+++ b/spec/functions/validate_bool_spec.rb
@@ -7,9 +7,8 @@ describe 'validate_bool' do
# Checking for deprecation warning
it 'should display a single deprecation' do
- #called twice, because validate_bool calls is_bool
ENV['STDLIB_LOG_DEPRECATIONS'] = "true"
- scope.expects(:warning).with(includes('This method is deprecated')).twice
+ scope.expects(:warning).with(includes('This method is deprecated'))
is_expected.to run.with_params(true)
end