Created
May 10, 2016 19:34
-
-
Save MichaelPereira/72c4879f24eb296a4e5562d30655ee43 to your computer and use it in GitHub Desktop.
failing unit tests after removing stray space
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Chef::Provider::Git with an ssh wrapper without a timeout set clones a repo with default git options | |
Failure/Error: shell_out!(clone_cmd, run_options) | |
#<Chef::Provider::Git:0x00000003a38128> received :shell_out! with unexpected arguments | |
expected: ("git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", {:user=>"deployNinja", :environment=>{"GIT_SSH"=>"do_it_this_way.sh", "HOME"=>"/home/deployNinja"}, :log_tag=>"git[web2.0 app]"}) | |
got: ("git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", {:user=>"deployNinja", :log_tag=>"git[web2.0 app]", :environment=>{"HOME"=>"/home/deployNinja", "GIT_SSH"=>"do_it_this_way.sh"}}) | |
Diff: | |
@@ -1,5 +1,5 @@ | |
-["git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", | |
+["git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", | |
{:user=>"deployNinja", | |
- :environment=>{"GIT_SSH"=>"do_it_this_way.sh", "HOME"=>"/home/deployNinja"}, | |
- :log_tag=>"git[web2.0 app]"}] | |
+ :log_tag=>"git[web2.0 app]", | |
+ :environment=>{"HOME"=>"/home/deployNinja", "GIT_SSH"=>"do_it_this_way.sh"}}] | |
# ./lib/chef/provider/git.rb:151:in `block in clone' | |
# ./lib/chef/mixin/why_run.rb:52:in `add_action' | |
# ./lib/chef/provider.rb:176:in `converge_by' | |
# ./lib/chef/provider/git.rb:140:in `clone' | |
# ./spec/unit/provider/git_spec.rb:237:in `block (4 levels) in <top (required)>' | |
2) Chef::Provider::Git with an ssh wrapper with a timeout set clones a repo with amended git options | |
Failure/Error: shell_out!(clone_cmd, run_options) | |
#<Chef::Provider::Git:0x000000039235d0> received :shell_out! with unexpected arguments | |
expected: ("git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", {:user=>"deployNinja", :environment=>{"GIT_SSH"=>"do_it_this_way.sh", "HOME"=>"/home/deployNinja"}, :log_tag=>"git[web2.0 app]", :timeout=>10}) | |
got: ("git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", {:user=>"deployNinja", :log_tag=>"git[web2.0 app]", :timeout=>10, :environment=>{"HOME"=>"/home/deployNinja", "GIT_SSH"=>"do_it_this_way.sh"}}) | |
Diff: | |
@@ -1,6 +1,6 @@ | |
-["git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", | |
+["git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", | |
{:user=>"deployNinja", | |
- :environment=>{"GIT_SSH"=>"do_it_this_way.sh", "HOME"=>"/home/deployNinja"}, | |
:log_tag=>"git[web2.0 app]", | |
- :timeout=>10}] | |
+ :timeout=>10, | |
+ :environment=>{"HOME"=>"/home/deployNinja", "GIT_SSH"=>"do_it_this_way.sh"}}] | |
# ./lib/chef/provider/git.rb:151:in `block in clone' | |
# ./lib/chef/mixin/why_run.rb:52:in `add_action' | |
# ./lib/chef/provider.rb:176:in `converge_by' | |
# ./lib/chef/provider/git.rb:140:in `clone' | |
# ./spec/unit/provider/git_spec.rb:245:in `block (4 levels) in <top (required)>' | |
3) Chef::Provider::Git with an ssh wrapper with a specific home clones a repo with amended git options with specific home | |
Failure/Error: shell_out!(clone_cmd, run_options) | |
#<Chef::Provider::Git:0x00000003860fa8> received :shell_out! with unexpected arguments | |
expected: ("git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", {:user=>"deployNinja", :environment=>{"GIT_SSH"=>"do_it_this_way.sh", "HOME"=>"/home/masterNinja"}, :log_tag=>"git[web2.0 app]"}) | |
got: ("git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", {:user=>"deployNinja", :log_tag=>"git[web2.0 app]", :environment=>{"HOME"=>"/home/masterNinja", "GIT_SSH"=>"do_it_this_way.sh"}}) | |
Diff: | |
@@ -1,5 +1,5 @@ | |
-["git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", | |
+["git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", | |
{:user=>"deployNinja", | |
- :environment=>{"GIT_SSH"=>"do_it_this_way.sh", "HOME"=>"/home/masterNinja"}, | |
- :log_tag=>"git[web2.0 app]"}] | |
+ :log_tag=>"git[web2.0 app]", | |
+ :environment=>{"HOME"=>"/home/masterNinja", "GIT_SSH"=>"do_it_this_way.sh"}}] | |
# ./lib/chef/provider/git.rb:151:in `block in clone' | |
# ./lib/chef/mixin/why_run.rb:52:in `add_action' | |
# ./lib/chef/provider.rb:176:in `converge_by' | |
# ./lib/chef/provider/git.rb:140:in `clone' | |
# ./spec/unit/provider/git_spec.rb:265:in `block (4 levels) in <top (required)>' | |
4) Chef::Provider::Git with a user id with a specific home clones a repo with amended git options with specific home | |
Failure/Error: shell_out!(clone_cmd, run_options) | |
#<Chef::Provider::Git:0x000000037e00d8> received :shell_out! with unexpected arguments | |
expected: ("git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", hash_including(:user=>123, :environment=>{"HOME"=>"/home/masterNinja"}, :log_tag=>"git[web2.0 app]")) | |
got: ("git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", {:user=>123, :log_tag=>"git[web2.0 app]", :environment=>{"HOME"=>"/home/masterNinja"}}) | |
Diff: | |
@@ -1,3 +1,5 @@ | |
-["git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", | |
- "hash_including(:user=>123, :environment=>{\"HOME\"=>\"/home/masterNinja\"}, :log_tag=>\"git[web2.0 app]\")"] | |
+["git clone \"git://github.com/opscode/chef.git\" \"/my/deploy/dir\"", | |
+ {:user=>123, | |
+ :log_tag=>"git[web2.0 app]", | |
+ :environment=>{"HOME"=>"/home/masterNinja"}}] | |
# ./lib/chef/provider/git.rb:151:in `block in clone' | |
# ./lib/chef/mixin/why_run.rb:52:in `add_action' | |
# ./lib/chef/provider.rb:176:in `converge_by' | |
# ./lib/chef/provider/git.rb:140:in `clone' | |
# ./spec/unit/provider/git_spec.rb:301:in `block (4 levels) in <top (required)>' | |
Finished in 0.13179 seconds (files took 1.36 seconds to load) | |
57 examples, 4 failures | |
Failed examples: | |
rspec ./spec/unit/provider/git_spec.rb:235 # Chef::Provider::Git with an ssh wrapper without a timeout set clones a repo with default git options | |
rspec ./spec/unit/provider/git_spec.rb:243 # Chef::Provider::Git with an ssh wrapper with a timeout set clones a repo with amended git options | |
rspec ./spec/unit/provider/git_spec.rb:263 # Chef::Provider::Git with an ssh wrapper with a specific home clones a repo with amended git options with specific home | |
rspec ./spec/unit/provider/git_spec.rb:299 # Chef::Provider::Git with a user id with a specific home clones a repo with amended git options with specific home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment