mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Workaround rubocop bug
This commit is contained in:
parent
f576f39153
commit
a752600333
3 changed files with 5 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
module Capybara
|
||||
# @api private
|
||||
module Helpers
|
||||
module_function
|
||||
module_function # rubocop:disable Layout/IndentationWidth
|
||||
|
||||
##
|
||||
# @deprecated
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
require 'capybara/selenium/nodes/safari_node'
|
||||
|
||||
module Capybara::Selenium::Driver::SafariDriver
|
||||
private
|
||||
private # rubocop:disable Layout/IndentationWidth
|
||||
|
||||
def build_node(native_node, initial_cache = {})
|
||||
::Capybara::Selenium::SafariNode.new(self, native_node, initial_cache)
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
class Capybara::Selenium::Node
|
||||
module Html5Drag
|
||||
private
|
||||
# Implement methods to emulate HTML5 drag and drop
|
||||
|
||||
private # rubocop:disable Layout/IndentationWidth
|
||||
|
||||
def html5_drag_to(element)
|
||||
driver.execute_script MOUSEDOWN_TRACKER
|
||||
|
|
Loading…
Add table
Reference in a new issue