Repository: buildr
Updated Branches:
  refs/heads/master c1a19729a -> e02fbf89d


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/a71ddf3d
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/a71ddf3d
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/a71ddf3d

Branch: refs/heads/master
Commit: a71ddf3d6f9942e4d70a750b9cec9c2a249762df
Parents: c1a1972
Author: Peter Donald <[email protected]>
Authored: Sat Jun 6 10:28:15 2015 +1000
Committer: Peter Donald <[email protected]>
Committed: Sat Jun 6 10:28:15 2015 +1000

----------------------------------------------------------------------
 lib/buildr/java/bdd.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/a71ddf3d/lib/buildr/java/bdd.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/java/bdd.rb b/lib/buildr/java/bdd.rb
index 8b98f31..3a70b13 100644
--- a/lib/buildr/java/bdd.rb
+++ b/lib/buildr/java/bdd.rb
@@ -194,7 +194,7 @@ module Buildr #:nodoc:
       runner.requires ||= []
       runner.requires.unshift File.join(File.dirname(__FILE__), 'test_result')
       runner.gems ||= {}
-      runner.rspec ||= ['--format', 'progress', '--format', 'documentation']
+      runner.rspec ||= %w(--format progress --format documentation)
       runner.format.each { |format| runner.rspec << '--format' << format } if 
runner.format
       runner.rspec.push '--format', 
"Buildr::TestFramework::TestResult::YamlFormatter"
       runner.rspec.push '-o', runner.result

Reply via email to