Sha256: 41e5b3ea31759ba28fa6eead3397ba0f2b781464ec1e12c1c4e05b26d979db24
Contents?: true
Size: 369 Bytes
Versions: 3
Compression:
Stored size: 369 Bytes
Contents
require 'assert' require 'cap-util/git_branch' class CapUtil::GitBranch class BaseTests < Assert::Context desc "the GitBranch util" 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.4.0 | test/unit/git_branch_tests.rb |
cap-util-1.3.0 | test/unit/git_branch_tests.rb |
cap-util-1.2.0 | test/unit/git_branch_tests.rb |