Ignore:
Timestamp:
Jul 31, 2017, 6:42:27 PM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, app-cordova, debian/bullseye, debian/jessie, master
Children:
fc9d514
Parents:
eb1ccd6
Message:

Updated apt and stdlib module to newer versions (stdlib version used by current ntp module)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/puppetcode/environments/gnuboat/modules/stdlib/spec/functions/validate_slength_spec.rb

    reb1ccd6 rbe0859f  
    22
    33describe '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 
    415  describe 'signature validation' do
    516    it { is_expected.not_to eq(nil) }
Note: See TracChangeset for help on using the changeset viewer.