diff options
author | Joshua C. Burt <joshburt@shapeandshare.com> | 2016-04-27 12:09:29 -0600 |
---|---|---|
committer | Joshua C. Burt <joshburt@shapeandshare.com> | 2016-04-27 12:09:29 -0600 |
commit | a45ee201f8b7a5b22dc783f6120885674bb3dfa8 (patch) | |
tree | 37cc6aa4015fc6f827ff872f32db41761fe3ae44 /spec | |
parent | 0344851741309178f7cee2fb70a8219ad0830996 (diff) | |
download | chef-a45ee201f8b7a5b22dc783f6120885674bb3dfa8.tar.gz |
correct spacing in the tests
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/provider/git_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/git_spec.rb b/spec/unit/provider/git_spec.rb index 698ddd4109..2e2faf1434 100644 --- a/spec/unit/provider/git_spec.rb +++ b/spec/unit/provider/git_spec.rb @@ -218,7 +218,7 @@ SHAS context "with an ssh wrapper" do let(:deploy_user) { "deployNinja" } let(:wrapper) { "do_it_this_way.sh" } - let(:expected_cmd) { 'git clone "git://github.com/opscode/chef.git" "/my/deploy/dir"' } + let(:expected_cmd) { 'git clone "git://github.com/opscode/chef.git" "/my/deploy/dir"' } let(:default_options) do { :user => deploy_user, @@ -272,7 +272,7 @@ SHAS allow(Etc).to receive(:getpwnam).and_return(double("Struct::Passwd", :name => @resource.user, :dir => "/home/deployNinja")) @resource.destination "/Application Support/with/space" @resource.ssh_wrapper "do_it_this_way.sh" - expected_cmd = "git clone \"git://github.com/opscode/chef.git\" \"/Application Support/with/space\"" + expected_cmd = "git clone \"git://github.com/opscode/chef.git\" \"/Application Support/with/space\"" expect(@provider).to receive(:shell_out!).with(expected_cmd, :user => "deployNinja", :log_tag=>"git[web2.0 app]", :environment => { "HOME" => "/home/deployNinja", |