File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
AllCops :
2
2
TargetRubyVersion : 2.6
3
3
NewCops : enable
4
+ SuggestExtensions : false
4
5
5
6
Layout/FirstArrayElementIndentation :
6
7
EnforcedStyle : consistent
@@ -53,3 +54,5 @@ Metrics/ModuleLength:
53
54
Metrics/PerceivedComplexity :
54
55
Max : 14
55
56
57
+ require :
58
+ - rubocop-rake
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ source "https://rubygems.org"
4
4
5
5
gem "byebug" , "~> 11.0" , platforms : %i[ mri mingw x64_mingw ]
6
6
gem "rubocop" , "~> 1.22"
7
+ gem "rubocop-rake" , require : false
7
8
8
9
gemspec
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def initialize(app, options = {})
33
33
@screen_size = @options . delete ( :screen_size )
34
34
@screen_size ||= DEFAULT_MAXIMIZE_SCREEN_SIZE
35
35
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
37
37
38
38
ENV [ "FERRUM_DEBUG" ] = "true" if ENV [ "CUPRITE_DEBUG" ]
39
39
You can’t perform that action at this time.
0 commit comments