Permalink
Browse files

whitespace

  • Loading branch information...
Cameron Johnston
Cameron Johnston committed Dec 23, 2013
1 parent 1627fda commit 9a0ceee51c1c5f135f67523057a0930607cdda6d
View
@@ -6,7 +6,7 @@
known_hosts_path = default_or_user_path(node['ssh']['known_hosts_path'], ssh_user)
host, port = new_resource.host.split(':')
# set the port to the default (22) if it wasn't already set
- port = new_resource.port unless port
+ port = new_resource.port unless port
key = new_resource.key
if key.nil?
@@ -1,5 +1,5 @@
require 'minitest/spec'
-
+
describe_recipe 'ssh::default' do
it "creates a 'root' config" do
file("/root/.ssh/config").must_exist.with(:mode, "600").with(:owner, "root")
@@ -35,4 +35,4 @@
file("/tmp/bitty/.ssh/known_hosts").must_include 'gitlab.com'
end
-end
+end

0 comments on commit 9a0ceee

Please sign in to comment.