~ubuntu-branches/ubuntu/wily/puppet/wily-proposed

« back to all changes in this revision

Viewing changes to spec/integration/ssl/certificate_request_spec.rb

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2014-10-24 13:47:15 UTC
  • mfrom: (3.1.64 sid)
  • Revision ID: package-import@ubuntu.com-20141024134715-6ig54u0c4gar36ss
Tags: 3.7.2-1
* Imported upstream release 3.7.2
* Declare compliance with Debian Policy 3.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    # Get a safe temporary file
11
11
    dir = tmpdir("csr_integration_testing")
12
12
 
13
 
    Puppet.settings.clear
14
 
 
15
13
    Puppet.settings[:confdir] = dir
16
14
    Puppet.settings[:vardir] = dir
17
15
    Puppet.settings[:group] = Process.gid
26
24
    Puppet::SSL::CertificateRequest.indirection.termini.clear
27
25
  end
28
26
 
29
 
  after do
30
 
    Puppet.settings.clear
31
 
  end
32
 
 
33
27
  it "should be able to generate CSRs" do
34
28
    @csr.generate(@key)
35
29
  end