File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 19
19
Rails . application . class . parent . to_s
20
20
21
21
copy_file 'spec/support/default_preview_path'
22
- chmod 'spec/support/default_preview_path' , 0755
22
+ chmod 'spec/support/default_preview_path' , 0o755
23
23
gsub_file 'spec/support/default_preview_path' ,
24
24
/ExampleApp/ ,
25
25
Rails . application . class . parent . to_s
Original file line number Diff line number Diff line change 78
78
gsub_file 'travis_retry_bundle_install.sh' ,
79
79
'REPLACE_BUNDLE_PATH' ,
80
80
bundle_install_path
81
- chmod 'travis_retry_bundle_install.sh' , 0755
81
+ chmod 'travis_retry_bundle_install.sh' , 0o755
82
82
end
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def with_clean_env
22
22
|RSpec::Support.require_rspec_core "project_initializer"
23
23
EOF
24
24
end
25
- FileUtils . chmod 0777 , script
25
+ FileUtils . chmod 0o777 , script
26
26
27
27
with_clean_env do
28
28
expect ( `bundle exec #{ script } 2>&1` ) .
@@ -43,7 +43,7 @@ def with_clean_env
43
43
|RSpec::Support.require_rspec_core "project_initializer"
44
44
EOF
45
45
end
46
- FileUtils . chmod 0777 , script
46
+ FileUtils . chmod 0o777 , script
47
47
48
48
with_clean_env do
49
49
expect ( `bundle exec #{ script } 2>&1` ) . to be_empty
You can’t perform that action at this time.
0 commit comments