File tree 4 files changed +5
-5
lines changed
android_tests/lib/android/specs
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# rake android['android/element/text']
2
2
describe 'android/element/text' do
3
3
4
- def must_raise_no_element &block
4
+ def must_raise_no_element ( &block )
5
5
proc { block . call } . must_raise Selenium ::WebDriver ::Error ::NoSuchElementError
6
6
end
7
7
Original file line number Diff line number Diff line change 1
1
describe 'android/element/textfield' do
2
- def must_raise_no_element &block
2
+ def must_raise_no_element ( &block )
3
3
proc { block . call } . must_raise Selenium ::WebDriver ::Error ::NoSuchElementError
4
4
end
5
5
Original file line number Diff line number Diff line change 46
46
wait_true { app_strings . has_key? 'activity_save_restore' }
47
47
end
48
48
49
- def must_return_element element
49
+ def must_return_element ( element )
50
50
element . class . must_equal Selenium ::WebDriver ::Element
51
51
end
52
52
Original file line number Diff line number Diff line change @@ -69,11 +69,11 @@ def is_sauce
69
69
end
70
70
71
71
t 'absolute_app_path' do
72
- def absolute_app_path path
72
+ def absolute_app_path ( path )
73
73
$driver. class . absolute_app_path ( caps : { app : path } )
74
74
end
75
75
76
- def validate_path path
76
+ def validate_path ( path )
77
77
absolute_app_path ( path ) . must_equal path
78
78
end
79
79
You can’t perform that action at this time.
0 commit comments