support comments in test tables
This commit is contained in:
parent
e6e5626a2c
commit
86d7442a5f
@ -46,6 +46,9 @@ When /^I route I should get$/ do |table|
|
|||||||
if table.headers.include? 'turns'
|
if table.headers.include? 'turns'
|
||||||
got['turns'] = turns
|
got['turns'] = turns
|
||||||
end
|
end
|
||||||
|
if table.headers.include? '#' # comment column
|
||||||
|
got['#'] = row['#'] # copy value so it always match
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
ok = true
|
ok = true
|
||||||
|
Loading…
Reference in New Issue
Block a user