Repository: buildr Updated Branches: refs/heads/master ea4103fb8 -> 7bdb30bf5
Prefer %w syntax Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/86550338 Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/86550338 Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/86550338 Branch: refs/heads/master Commit: 86550338141ac3899d946185680f2bfa643bd285 Parents: 86f9c48 Author: Peter Donald <[email protected]> Authored: Sun May 22 20:06:46 2016 +1000 Committer: Peter Donald <[email protected]> Committed: Sun May 22 20:06:46 2016 +1000 ---------------------------------------------------------------------- spec/addon/custom_pom_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/86550338/spec/addon/custom_pom_spec.rb ---------------------------------------------------------------------- diff --git a/spec/addon/custom_pom_spec.rb b/spec/addon/custom_pom_spec.rb index 9b78bf5..c49b766 100644 --- a/spec/addon/custom_pom_spec.rb +++ b/spec/addon/custom_pom_spec.rb @@ -67,7 +67,7 @@ describe Buildr::CustomPom do describe "with explicitly specified pom details" do before do - ['id-provided', 'id-optional', 'id-runtime', 'id-test'].each do |artifact_id| + %w(id-provided id-optional id-runtime id-test).each do |artifact_id| artifact("group:#{artifact_id}:jar:1.0") do |t| mkdir_p File.dirname(t.to_s) Zip::ZipOutputStream.open t.to_s do |zip|
