Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Built using wrong Rubygems version, bumping version again (0.1.3)

  • Loading branch information...
commit 1b297ac857a51374dcc66ecd93a19dcfe4265e84 1 parent 97ac171
@winton authored
View
22 features/gitcycle.feature
@@ -159,13 +159,15 @@ Scenario: QA issue
And I checkout master
And I execute gitcycle with "qa issue.id"
Then gitcycle runs
- And output includes "Retrieving branch information from gitcycle."
- And output does not include "Checking out source branch 'master'."
- And output does not include "Tracking source branch 'master'."
- And output includes "Creating QA branch 'qa_master'."
- And output includes "Adding remote repo 'env.home/config.repo'."
- And output includes "Fetching remote branch 'ticket.id'."
- And output includes "Merging remote branch 'ticket.id' from 'env.home/config.repo'."
- And output includes "Pushing QA branch 'qa_master'."
- And output includes "Type 'gitc qa pass' to approve all issues in this branch."
- And output includes "Type 'gitc qa fail' to reject all issues in this branch."
+ And output includes
+ """
+ Retrieving branch information from gitcycle.
+ Deleting old QA branch 'qa_master'.
+ Creating QA branch 'qa_master'.
+ Adding remote repo 'br/gitcycle_test'.
+ Fetching remote branch '200-test-ticket'.
+ Merging remote branch '200-test-ticket' from 'br/gitcycle_test'.
+ Pushing QA branch 'qa_master'.
+ Type 'gitc qa pass' to approve all issues in this branch.
+ Type 'gitc qa fail' to reject all issues in this branch.
+ """
View
5 features/steps/gitcycle_steps.rb
@@ -195,6 +195,11 @@ def type(text)
$url = @output.match(/#{expected}.*(https?:\/\/[^\s]+)/)[1]
end
+Then /^output includes$/ do |expected|
+ expected = gsub_variables(expected)
+ @output.include?(expected).should == true
+end
+
Then /^output does not include \"([^\"]*)"$/ do |expected|
expected = gsub_variables(expected)
@output.include?(expected).should == false
View
2  gitcycle.gemspec
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
Gem::Specification.new do |s|
s.name = "gitcycle"
- s.version = '0.1.2'
+ s.version = '0.1.3'
s.platform = Gem::Platform::RUBY
s.authors = [ 'Winton Welsh' ]
s.email = [ 'mail@wintoni.us' ]
Please sign in to comment.
Something went wrong with that request. Please try again.