Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ gem 'minitest', '~> 5.0'
gem 'minitest-reporters', '~> 1.1'
gem 'pry'
gem 'rake', '~> 13.0'
gem 'rubocop', '1.89.0'
gem 'rubocop', '1.90.0'
gem 'yard', '~> 0.9.11'
4 changes: 2 additions & 2 deletions ios_tests/lib/ios/specs/common/element/window.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def test_01_before_first

def test_02_window_size
size = window_size
assert_equal size.width.class, Integer
assert_equal size.height.class, Integer
assert_equal size.width.class, Integer
assert_equal size.height.class, Integer
end
end
end
Expand Down
6 changes: 3 additions & 3 deletions lib/appium_lib/android/common/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ def filter=(value)

def initialize # rubocop:disable Lint/MissingSuper
reset
@filter = false
@filter = false
end

def reset
@result = ''
@keys = %w(text resource-id content-desc)
@result = ''
@keys = %w(text resource-id content-desc)
end

# http://nokogiri.org/Nokogiri/XML/SAX/Document.html
Expand Down
2 changes: 1 addition & 1 deletion lib/appium_lib/common/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def _print_source(source)
doc = if source.start_with? '<html'
Nokogiri::HTML(source) { |cfg| cfg.options = opts }
else
Nokogiri::XML(source) { |cfg| cfg.options = opts }
Nokogiri::XML(source) { |cfg| cfg.options = opts }
end
puts doc.to_xml indent: 2
end
Expand Down
Loading