Sha256: 5781f8634819199233d1244775c675d56b43003b39f7e0a3f4fcf7ea898cbcab
Contents?: true
Size: 529 Bytes
Versions: 14
Compression:
Stored size: 529 Bytes
Contents
require 'spec_helper' require 'r10k/git' describe R10K::Git::Head do let(:ref) { 'git/branch' } let(:repo) { double('git repository') } subject { described_class.new(ref) } describe "determining if the head can be resolved" do it "is always false" end describe "determining if the head needs to be fetched" do it "is always true" do expect(subject.fetch?).to be_true end end it "can be converted to a string" do expect(subject.to_s).to eq ref end it_behaves_like "a git ref" end
Version data entries
14 entries across 14 versions & 1 rubygems