Sha256: e8a1b818945a462a5c9da6f531b85fabfa04d4841ba5078c522a81c135b59632
Contents?: true
Size: 316 Bytes
Versions: 3
Compression:
Stored size: 316 Bytes
Contents
require 'spec_helper' module ThorSCMVersion describe GitVersion do it "should detect if a commit is contained on a given branch" do ShellUtils.stub(:sh).and_return(<<OUT) * constrain_bump_to_branch master OUT expect(GitVersion.contained_in_current_branch?('0.0.1')).to be_true end end end
Version data entries
3 entries across 3 versions & 1 rubygems