[DRE-commits] [SCM] ruby-factory-girl.git branch, master, updated. upstream/4.2.0-11-g2a3932d
Praveen Arimbrathodiyil
praveen at debian.org
Tue May 14 16:29:26 UTC 2013
The following commit has been merged in the master branch:
commit 2a3932ded231a30d83fac29db93a2cd2f328a8f3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue May 14 22:01:48 2013 +0530
use ruby-tests.rake
diff --git a/debian/changelog b/debian/changelog
index 034e27a..b1ff1d4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ruby-factory-girl (4.2.0-2) UNRELEASED; urgency=low
- * Remove rubygems require too.
+ * Remove rubygems require too
+ * Use ruby-tests.rake
-- Praveen Arimbrathodiyil <praveen at debian.org> Sun, 12 May 2013 13:16:14 +0530
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..89a753d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = './spec/**/*_spec.rb'
+end
+
+task :default => :spec
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 4f6fe10..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-$: << 'lib' << '.'
-Dir['{spec}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
--
ruby-factory-girl.git
More information about the Pkg-ruby-extras-commits
mailing list