Extract the filename from the rerun command
Example: "bin/rspec --seed 1234 ./spec/foo_spec.rb:46"
This commit is contained in:
parent
de5c3626aa
commit
66f6f058b6
|
@ -130,7 +130,7 @@ module RSpecQ
|
|||
return if jobs.empty?
|
||||
|
||||
jobs.each do |job|
|
||||
filename = job.sub(/\[.+\]/, "")
|
||||
filename = job[/spec\/.+/].split(':')[0]
|
||||
|
||||
extra = {
|
||||
build: @build_id,
|
||||
|
|
Loading…
Reference in New Issue