features/step_definitions/table_steps.rb in briar-0.1.0 vs features/step_definitions/table_steps.rb in briar-0.1.1
- old
+ new
@@ -75,10 +75,10 @@
#res = query("tableViewCell index:#{row}", AI).first
should_see_row_at_index row_id, row_index
end
Then /^I should see the rows in this order "([^"]*)"$/ do |row_ids|
- tokens = row_ids.split(',')
+ tokens = tokenize_list(row_ids)
counter = 0
tokens.each do |token|
token.strip!
should_see_row_at_index token, counter
counter = counter + 1