update for cucumber 1.3.1
This commit is contained in:
parent
7b22207fd0
commit
baab37f444
@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
||||
gem.require_paths = ["lib"]
|
||||
gem.version = CukePack::VERSION
|
||||
|
||||
gem.add_dependency 'cucumber'
|
||||
gem.add_dependency 'cucumber', '>= 1.3.1'
|
||||
gem.add_dependency 'cucumber-step_writer'
|
||||
gem.add_dependency 'thor'
|
||||
gem.add_dependency 'flay'
|
||||
|
@ -10,7 +10,12 @@ end
|
||||
After do |s|
|
||||
if s.failed? || s.status == :pending
|
||||
if ENV['INPROGRESS']
|
||||
in_progress << s.feature.file_colon_line(s.line)
|
||||
begin
|
||||
in_progress << s.feature.file_colon_line.gsub(/\:\d+/, ":" + s.line.to_s)
|
||||
rescue => e
|
||||
puts e.message
|
||||
puts e.backtrace.join("\n")
|
||||
end
|
||||
end
|
||||
|
||||
if ENV['RUN_INPROGRESS']
|
||||
|
Loading…
Reference in New Issue
Block a user