Sha256: 8292b831636ea9a7f9417744c47c5761d2f26675a684c0751457b785d42b5d02
Contents?: true
Size: 874 Bytes
Versions: 3
Compression:
Stored size: 874 Bytes
Contents
Then /^git repository is clean$/ do assert { repo_clean? } end Then /^git history has one commit$/ do assert { git.log.count == 1 } end Then /^I\'m on "(.*?)" branch$/ do |expected_branch| assert { branch == expected_branch } end Then /^no other branch exists$/ do assert { branches.length == 1 } end Then /^branch "(.*?)" exists$/ do |branch_name| assert { branches.include?(branch_name) } end Then /^branch "(.*?)" does not exist$/ do |branch_name| deny { branches.include?(branch_name) } end Then /^tag "(.*?)" exists$/ do |tag_name| assert { tags.include?(tag_name) } end Then /^tag "(.*?)" does not exist$/ do |tag_name| deny { tags.include?(tag_name) } end Then /^tag matching (#{PATTERN}) exists$/ do |pat| assert { tags.any?{|t| t=~pat} } end Then /^tag matching (#{PATTERN}) does not exist$/ do |pat| deny { tags.any?{|t| t=~pat} } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vendorificator-0.1.1 | features/step_definitions/git.rb |
vendorificator-0.1.0 | features/step_definitions/git.rb |
vendorificator-0.0.1 | features/step_definitions/git.rb |