update cucumber test to work with lua profiles

This commit is contained in:
Emil Tin
2012-09-19 18:35:45 +02:00
parent 75cd287ab0
commit 74cc50f52b
15 changed files with 596 additions and 107 deletions
-6
View File
@@ -2,12 +2,6 @@ Given /^the speedprofile "([^"]*)"$/ do |profile|
read_speedprofile profile
end
Given /^the speedprofile settings$/ do |table|
table.raw.each do |row|
speedprofile[ row[0] ] = row[1]
end
end
Given /^a grid size of (\d+) meters$/ do |meters|
set_grid_size meters
end
+1 -1
View File
@@ -252,7 +252,7 @@ When /^I route I should get$/ do |table|
ok = false
end
else
ok = row[key] == got[key].to_f
ok = row[key] == got[key]
end
end