mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Make Rubocop happier about ActiveStorage
Running `rubocop activestorage` before this commit resulted in 20 offenses. This commit only fixes: - Trailing whitespace detected - Space inside } missing - Put one space between the method name and the first argument. The other offenses are left since they are intentional according to @georgeclaghorn (https://github.com/rails/rails/pull/30061#issuecomment-319999190)
This commit is contained in:
parent
6b40fed4e2
commit
9d636c9e2f
5 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ if SERVICE_CONFIGURATIONS[:s3] && SERVICE_CONFIGURATIONS[:s3][:access_key_id].pr
|
|||
end
|
||||
|
||||
test "uploading with server-side encryption" do
|
||||
config = SERVICE_CONFIGURATIONS.deep_merge(s3: { upload: { server_side_encryption: "AES256" }})
|
||||
config = SERVICE_CONFIGURATIONS.deep_merge(s3: { upload: { server_side_encryption: "AES256" } })
|
||||
service = ActiveStorage::Service.configure(:s3, config)
|
||||
|
||||
begin
|
||||
|
|
Loading…
Reference in a new issue