features/step_definitions/table_steps.rb in briar-0.1.2 vs features/step_definitions/table_steps.rb in briar-0.1.3.b1

- old
+ new

@@ -5,21 +5,10 @@ Then(/^I scroll to the "([^"]*)" row$/) do |row_id| briar_scroll_to_row row_id end -#noinspection RubyUnusedLocalVariable -Then /^I scroll (left|right|up|down) until I see the "([^\"]*)" row limit (\d+)$/ do |dir, row_id, limit| - pending "deprecated 0.0.6 - use 'Then I scroll to the \"#{row_id}\" row'" -end - - -#noinspection RubyUnusedLocalVariable -Then /^I scroll (left|right|up|down) until I see (?:the|an?) "([^\"]*)" row$/ do |dir, row_id| - pending "deprecated 0.0.8 - use 'Then I scroll to the \"#{row_id}\" row'" -end - Then /^I touch (?:the) "([^"]*)" row and wait for (?:the) "([^"]*)" view to appear$/ do |row_id, view_id| wait_for_row row_id step_pause touch_row_and_wait_to_see row_id, view_id end @@ -137,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| - warn 'WARN: deprecated 0.1.1 - write a custom step' + 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