Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
emiltin committed May 17, 2015
1 parent 0706ba9 commit a49a866
Show file tree
Hide file tree
Showing 3 changed files with 15,014 additions and 1 deletion.
2 changes: 1 addition & 1 deletion features/step_definitions/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
table.hashes.each do |row|
name = row.delete 'node'
node = find_node_by_name(name)
raise "*** unknown node '#{c}'" unless node
raise "*** unknown node '#{name}'" unless node
node << row
end
end
Expand Down
18 changes: 18 additions & 0 deletions features/testbot/bugs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,21 @@ Feature: Known bugs

Background:
Given the profile "testbot"

@x
Scenario: Looping
Given the input file test/input/looping.osm

And the node locations
| node | lat | lon |
| a | 55.664913 | 12.601698 |
| s | 55.664948 | 12.601887 |
| t | 55.665016 | 12.602199 |
| u | 55.665302 | 12.603515 |
| b | 55.665302 | 12.603517 |

When I route I should get
| waypoints | route |
| a,s,b | Prags Boulevard |
| a,t,b | Prags Boulevard |
| a,u,b | Prags Boulevard |
Loading

0 comments on commit a49a866

Please sign in to comment.