Commit 8825583

mo khan <mo@mokhan.ca>
2015-11-14 04:36:08
fix tests.
1 parent b04fe71
Changed files (1)
spec/nginx_spec.rb
@@ -10,16 +10,12 @@ describe "stronglifters::nginx" do
     expect(subject).to install_package("nginx")
   end
 
-  it "creates a directory for the ssl certificates" do
-    expect(subject).to create_directory("/etc/nginx/ssl")
-  end
-
   it "copies the ssl certificate" do
-    expect(subject).to create_template("/etc/nginx/ssl/#{domain}.crt")
+    expect(subject).to create_file("/etc/ssl/certs/#{domain}.crt")
   end
 
   it "copies the ssl private key" do
-    expect(subject).to create_template("/etc/nginx/ssl/#{domain}.key")
+    expect(subject).to create_file("/etc/ssl/private/#{domain}.key")
   end
 
   it "adds the configuration for the website" do