Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
fix rspec 3 deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Jun 7, 2015
1 parent 677b2b5 commit be3483d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/functions/nsstools_add_cert_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
)

alpha = catalogue.resource('Nsstools::Add_cert', '/etc/dirsrv/slapd-ldap1-AlphaSSL CA')
alpha[:nickname].should eq 'AlphaSSL CA'
alpha[:certdir].should eq '/etc/dirsrv/slapd-ldap1'
alpha[:cert].should eq '/tmp/alphassl_intermediate.pem'
expect(alpha[:nickname]).to eq 'AlphaSSL CA'
expect(alpha[:certdir]).to eq '/etc/dirsrv/slapd-ldap1'
expect(alpha[:cert]).to eq '/tmp/alphassl_intermediate.pem'

global = catalogue.resource('Nsstools::Add_cert', '/etc/dirsrv/slapd-ldap1-GlobalSign Root CA')
global[:nickname].should eq 'GlobalSign Root CA'
global[:certdir].should eq '/etc/dirsrv/slapd-ldap1'
global[:cert].should eq '/tmp/globalsign_root.pem'
expect(global[:nickname]).to eq 'GlobalSign Root CA'
expect(global[:certdir]).to eq '/etc/dirsrv/slapd-ldap1'
expect(global[:cert]).to eq '/tmp/globalsign_root.pem'
end
end

0 comments on commit be3483d

Please sign in to comment.