[DRE-commits] [gist] 05/07: Re-enable tests as webmock is now available
zeha at debian.org
zeha at debian.org
Tue Aug 18 23:08:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository gist.
commit d8e6d8a995d4b201cdc5e6fecf94adbada427778
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Tue Aug 18 22:51:54 2015 +0000
Re-enable tests as webmock is now available
---
debian/control | 4 +++-
debian/ruby-tests.rake | 5 +++++
debian/ruby-tests.rake.disabled | 8 --------
3 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/debian/control b/debian/control
index 3aceb29..2884923 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,9 @@ Build-Depends: debhelper (>= 9~),
gem2deb,
locales,
rake,
- ruby-ronn
+ ruby-ronn,
+ ruby-rspec,
+ ruby-webmock
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/gist.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/gist.git
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..cf1591e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+ spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/ruby-tests.rake.disabled b/debian/ruby-tests.rake.disabled
deleted file mode 100644
index e2f4669..0000000
--- a/debian/ruby-tests.rake.disabled
+++ /dev/null
@@ -1,8 +0,0 @@
-# Tests disabled because we don't have a webmock package.
-require 'rspec/core/rake_task'
-
-RSpec::Core::RakeTask.new(:spec) do |spec|
- spec.pattern = './spec/**/*_spec.rb'
-end
-
-task :default => :spec
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gist.git
More information about the Pkg-ruby-extras-commits
mailing list