features/step_definitions/table_steps.rb in briar-0.1.3.b4 vs features/step_definitions/table_steps.rb in briar-0.1.3.b5
- old
+ new
@@ -83,11 +83,11 @@
#noinspection RubyResolve
should_see_row_with_label_with_text row_id, label_id, @text_entered_by_keyboard
end
Then /^I move the "([^"]*)" row (up|down) (\d+) times? using the reorder edit control$/ do |row_id, dir, n|
- if device.ios7?
+ if ios7?
pending 'reordering on iOS 7 (more specifically playback) is not supported'
end
should_see_row row_id
dir_str = (dir.eql?('up')) ? 'drag_row_up' : 'drag_row_down'
@@ -126,10 +126,10 @@
Then /^I should see a detail disclosure chevron in the "([^"]*)" row$/ do |row_id|
should_see_disclosure_chevron_in_row row_id
end
Then /^I touch the "([^"]*)" switch in the "([^"]*)" row$/ do |switch_id, row_id|
- deprecated('0.1.1', 'write a custom step', :warn)
+ _deprecated('0.1.1', 'write a custom step', :warn)
touch_switch_in_row switch_id, row_id
end
Then /^I should see "([^"]*)" in the "([^"]*)" section (footer|header)$/ do |text, section_footer_id, head_or_foot|
res = query("tableView child view marked:'#{section_footer_id} section #{head_or_foot}' child label", :text).first