Changeset be0859f for src/puppetcode/environments/gnuboat/modules/stdlib/spec/functions/validate_slength_spec.rb
- Timestamp:
- Jul 31, 2017, 6:42:27 PM (9 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- fc9d514
- Parents:
- eb1ccd6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/gnuboat/modules/stdlib/spec/functions/validate_slength_spec.rb
reb1ccd6 rbe0859f 2 2 3 3 describe 'validate_slength' do 4 after(:all) do 5 ENV.delete('STDLIB_LOG_DEPRECATIONS') 6 end 7 8 # Checking for deprecation warning 9 it 'should display a single deprecation' do 10 ENV['STDLIB_LOG_DEPRECATIONS'] = "true" 11 scope.expects(:warning).with(includes('This method is deprecated')) 12 is_expected.to run.with_params('1234567890', 10) 13 end 14 4 15 describe 'signature validation' do 5 16 it { is_expected.not_to eq(nil) }
Note:
See TracChangeset
for help on using the changeset viewer.
