Changeset ad28f83 for src/puppetcode/environments/gnuboat/modules/stdlib/spec/functions/validate_numeric_spec.rb
- Timestamp:
- Aug 1, 2017, 3:45:14 PM (9 years ago)
- Branches:
- debian/bullseye, debian/jessie
- Children:
- ce0f6a4
- Parents:
- bcf0be5 (diff), cd0f9cc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/gnuboat/modules/stdlib/spec/functions/validate_numeric_spec.rb
rbcf0be5 rad28f83 2 2 3 3 describe 'validate_numeric' 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(3) 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.
