[DRE-commits] [ruby-org] 127/303: Updating rake task to run rspec tests
Jérémy Bobbio
lunar at alioth.debian.org
Fri Aug 9 17:33:42 UTC 2013
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository ruby-org.
commit 117ca2614f4647cdd21968c2820c09f8dd35022f
Author: Waldemar Quevedo <waldemar.quevedo at gmail.com>
Date: Sat Feb 25 22:35:43 2012 +0900
Updating rake task to run rspec tests
---
Rakefile | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/Rakefile b/Rakefile
index 1969e4f..d912166 100644
--- a/Rakefile
+++ b/Rakefile
@@ -8,8 +8,15 @@ end
ensure_in_path 'lib'
require 'org-ruby'
-task :default => 'spec:run'
-task 'gem:release' => 'spec:run'
+require 'rspec/core'
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = FileList['spec/**/*_spec.rb']
+end
+
+task :default => 'spec'
+task 'gem:release' => 'spec'
Bones {
readme_file 'README.rdoc'
@@ -19,7 +26,6 @@ Bones {
url 'http://github.com/bdewey/org-ruby'
version OrgRuby::VERSION
depend_on 'rubypants'
- # spec.opts ['--color']
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-org.git
More information about the Pkg-ruby-extras-commits
mailing list