update cucumber test to work with lua profiles
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user