mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Enable TrailingCommaInLiteral cop
This commit is contained in:
parent
f563e28559
commit
3907550435
2 changed files with 4 additions and 6 deletions
|
@ -33,8 +33,6 @@ Style/SingleLineBlockParams:
|
|||
Enabled: false
|
||||
Style/ModuleFunction:
|
||||
Enabled: false
|
||||
Style/TrailingCommaInLiteral:
|
||||
Enabled: false
|
||||
|
||||
# Needs refactors
|
||||
Metrics/PerceivedComplexity:
|
||||
|
|
|
@ -22,7 +22,7 @@ describe Capistrano::DSL::Paths do
|
|||
it "returns the full pathnames" do
|
||||
expect(subject).to eq [
|
||||
Pathname.new("/var/shared/log"),
|
||||
Pathname.new("/var/shared/public/system"),
|
||||
Pathname.new("/var/shared/public/system")
|
||||
]
|
||||
end
|
||||
end
|
||||
|
@ -38,7 +38,7 @@ describe Capistrano::DSL::Paths do
|
|||
expect(subject).to eq [
|
||||
Pathname.new("/var/shared/config/database.yml"),
|
||||
Pathname.new("/var/shared/log/my.log"),
|
||||
Pathname.new("/var/shared/log/access.log"),
|
||||
Pathname.new("/var/shared/log/access.log")
|
||||
]
|
||||
end
|
||||
end
|
||||
|
@ -53,7 +53,7 @@ describe Capistrano::DSL::Paths do
|
|||
it "returns the full paths names of the parent dirs" do
|
||||
expect(subject).to eq [
|
||||
Pathname.new("/var/shared/config"),
|
||||
Pathname.new("/var/shared/log"),
|
||||
Pathname.new("/var/shared/log")
|
||||
]
|
||||
end
|
||||
end
|
||||
|
@ -68,7 +68,7 @@ describe Capistrano::DSL::Paths do
|
|||
it "returns the full paths names of the parent dirs" do
|
||||
expect(subject).to eq [
|
||||
Pathname.new("/var/shared"),
|
||||
Pathname.new("/var/shared/public"),
|
||||
Pathname.new("/var/shared/public")
|
||||
]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue