diff options
Diffstat (limited to 'spec/functions/validate_absolute_path_spec.rb')
-rwxr-xr-x | spec/functions/validate_absolute_path_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functions/validate_absolute_path_spec.rb b/spec/functions/validate_absolute_path_spec.rb index ffdb2c8..dbac88f 100755 --- a/spec/functions/validate_absolute_path_spec.rb +++ b/spec/functions/validate_absolute_path_spec.rb @@ -4,7 +4,7 @@ describe 'validate_absolute_path' do # Checking for deprecation warning it 'should display a single deprecation' do # called twice because validate_absolute_path calls is_absolute_path - scope.expects(:warn).with(includes('This method is deprecated')).twice + scope.expects(:warning).with(includes('This method is deprecated')).twice is_expected.to run.with_params('c:/') end |