Skip to content

Commit

Permalink
Rubocop cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Nov 18, 2020
1 parent eae0d99 commit 051a64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/spec/session/node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@
@session.visit('/with_js')
target = @session.find('//div[@id="drop_html5"]')
target.drop(
Pathname.new with_os_path_separators(File.expand_path('../fixtures/capybara.jpg', File.dirname(__FILE__)))
Pathname.new(with_os_path_separators(File.expand_path('../fixtures/capybara.jpg', File.dirname(__FILE__))))
)
expect(@session).to have_xpath('//div[contains(., "HTML5 Dropped file: capybara.jpg")]')
end
Expand Down

0 comments on commit 051a64d

Please sign in to comment.