[DRE-commits] [ruby-jbuilder] 03/06: Run tests with rake now
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Aug 3 02:49:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-jbuilder.
commit bda8e0a2083f3722791a9c77602e3172bf4ae581
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Jul 27 12:54:30 2014 -0300
Run tests with rake now
---
debian/changelog | 1 +
debian/ruby-test-files.yaml | 7 -------
debian/ruby-tests.rake | 5 +++++
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 74e255a..969c6d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ruby-jbuilder (2.1.3-1) UNRELEASED; urgency=medium
* New upstream release
+ * Run tests with rake now
-- Antonio Terceiro <terceiro at debian.org> Sun, 27 Jul 2014 12:39:03 -0300
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 58bd4f1..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
----
-- test/jbuilder_template_test.rb
-- test/jbuilder_test.rb
-# scaffold works only with Rails edge at the moment because of the new update method
-#- test/scaffold_controller_generator_test.rb
-# only supposed to work with Rails 4.0: https://github.com/rails/jbuilder/pull/121
-#- test/jbuilder_generator_test.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..825e76e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/testtask'
+Gem2Deb::Rake::TestTask.new do |t|
+ t.libs << 'test'
+ t.test_files = FileList['test/*_test.rb']
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-jbuilder.git
More information about the Pkg-ruby-extras-commits
mailing list