File tree 3 files changed +5
-1
lines changed
android_tests/lib/android/specs
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change
1
+ # rubocop:disable Metrics/LineLength
2
+
1
3
# rake android[android/helper]
2
4
describe 'android/helper' do
3
5
t 'tags' do
Original file line number Diff line number Diff line change 50
50
# regular rescue will not handle exceptions outside of StandardError hierarchy
51
51
# must rescue Exception explicitly to rescue everything
52
52
proc { wait_true ( wait_opts ) { fail NoMemoryError } } . must_raise Selenium ::WebDriver ::Error ::TimeOutError
53
- proc { wait_true ( timeout : 0.2 , interval : 0.0 ) { fail NoMemoryError } } . must_raise Selenium ::WebDriver ::Error ::TimeOutError
53
+ proc { wait_true ( timeout : 0.2 , interval : 0.0 ) { fail NoMemoryError } }
54
+ . must_raise Selenium ::WebDriver ::Error ::TimeOutError
54
55
55
56
# invalid keys are rejected
56
57
proc { wait_true ( invalidkey : 2 ) { true } } . must_raise RuntimeError
Original file line number Diff line number Diff line change 1
1
# rubocop:disable Lint/RescueException
2
+ # rubocop:disable Metrics/LineLength
2
3
3
4
# Skip:
4
5
# status # status patches are already tested in driver.rb
You can’t perform that action at this time.
0 commit comments