Sha256: d0e839ca45ad24e5a911eff2a5e0d429856a80772dbbdf31eda0a8ba13bbeb3e
Contents?: true
Size: 368 Bytes
Versions: 3
Compression:
Stored size: 368 Bytes
Contents
require 'assert' require 'cap-util/git_branch' class CapUtil::GitBranch class UnitTests < Assert::Context desc "CapUtil::GitBranch" subject{ CapUtil::GitBranch } should have_imeth :current should "use the symbolic ref the HEAD is at for the current branch" do assert_equal "git symbolic-ref HEAD", subject.current(:cmd) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cap-util-1.5.2 | test/unit/git_branch_tests.rb |
cap-util-1.5.1 | test/unit/git_branch_tests.rb |
cap-util-1.5.0 | test/unit/git_branch_tests.rb |