ignore 'You have reached your destination' when parsing route instructions in cucumber tests
This commit is contained in:
parent
03deda313a
commit
c669d46efb
@ -61,7 +61,7 @@ def route_status response
|
||||
end
|
||||
|
||||
def way_list instructions
|
||||
instructions.
|
||||
instructions.reject { |r| r[0]=='You have reached your destination' }.
|
||||
map { |r| r[1] }.
|
||||
map { |r| r=="" ? '""' : r }.
|
||||
join(',')
|
||||
|
Loading…
Reference in New Issue
Block a user