File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11AllCops :
22 TargetRubyVersion : 2.6
33 NewCops : enable
4+ SuggestExtensions : false
45
56Layout/FirstArrayElementIndentation :
67 EnforcedStyle : consistent
@@ -53,3 +54,5 @@ Metrics/ModuleLength:
5354Metrics/PerceivedComplexity :
5455 Max : 14
5556
57+ require :
58+ - rubocop-rake
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ source "https://rubygems.org"
44
55gem "byebug" , "~> 11.0" , platforms : %i[ mri mingw x64_mingw ]
66gem "rubocop" , "~> 1.22"
7+ gem "rubocop-rake" , require : false
78
89gemspec
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def initialize(app, options = {})
3333 @screen_size = @options . delete ( :screen_size )
3434 @screen_size ||= DEFAULT_MAXIMIZE_SCREEN_SIZE
3535
36- @options [ :save_path ] = Capybara . save_path . to_s if Capybara . save_path
36+ @options [ :save_path ] = File . expand_path ( Capybara . save_path ) if Capybara . save_path
3737
3838 ENV [ "FERRUM_DEBUG" ] = "true" if ENV [ "CUPRITE_DEBUG" ]
3939
You can’t perform that action at this time.
0 commit comments