summaryrefslogtreecommitdiff
path: root/spec/functions/is_integer_spec.rb
diff options
context:
space:
mode:
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 49550c7..2d68731 100755
--- a/spec/functions/is_integer_spec.rb
+++ b/spec/functions/is_integer_spec.rb
@@ -5,7 +5,7 @@ describe 'is_integer' do
# Checking for deprecation warning
it 'should display a single deprecation' do
- scope.expects(:warn).with(includes('This method is deprecated'))
+ scope.expects(:warning).with(includes('This method is deprecated'))
is_expected.to run.with_params(3)
end