summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Evans <jordane@osuosl.org>2014-07-28 10:48:02 -0700
committerJordan Evans <jordane@osuosl.org>2014-07-28 10:48:02 -0700
commit4e2bc4c16254e05ffb82b1fff65354b607125b42 (patch)
tree5796449ac0aaaea214cfc2c0975a3bced7425e10
parent5fce3c01223d2ddf918b62f394157fa2a69554be (diff)
downloadchef-4e2bc4c16254e05ffb82b1fff65354b607125b42.tar.gz
update git checkout test description
-rw-r--r--spec/unit/provider/git_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/git_spec.rb b/spec/unit/provider/git_spec.rb
index 77a5349029..ec1e0927b8 100644
--- a/spec/unit/provider/git_spec.rb
+++ b/spec/unit/provider/git_spec.rb
@@ -224,7 +224,7 @@ SHAS
@provider.clone
end
- it "runs a checkout command with default options" do
+ it "runs a checkout command with default options and uses -B to reset branches if necessary" do
expected_cmd = 'git checkout -B deploy d35af14d41ae22b19da05d7d03a0bafc321b244c'
@provider.should_receive(:shell_out!).with(expected_cmd, :cwd => "/my/deploy/dir",
:log_tag => "git[web2.0 app]")