features/steps/gitcycle_steps.rb in gitcycle-0.2.7 vs features/steps/gitcycle_steps.rb in gitcycle-0.2.8

- old
+ new

@@ -111,10 +111,11 @@ :project_id => config['lighthouse']['project'], :state => "open", :title => "Test ticket" ) $ticket.save + $ticket.attributes['id'] = "master-#{$ticket.attributes['id']}" end When /^I execute gitcycle with nothing$/ do $execute << nil end @@ -137,11 +138,11 @@ "#{config['owner']}/#{config['repo']}", config['token_qa'] ].join(' ') end -When /^I execute gitcycle with the Lighthouse ticket URL$/ do - $execute << $ticket.url +When /^I execute gitcycle branch with the Lighthouse ticket URL$/ do + $execute << "branch #{$ticket.url}" end When /^I execute gitcycle redo with the Lighthouse ticket URL$/ do $execute << "redo #{$ticket.url}" end \ No newline at end of file