1
0
Fork 0
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:
Thomas Walpole 2019-03-26 09:36:18 -07:00
parent f576f39153
commit a752600333
3 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,7 @@
module Capybara
# @api private
module Helpers
module_function
module_function # rubocop:disable Layout/IndentationWidth
##
# @deprecated

View file

@ -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)

View file

@ -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