[DRE-commits] [ruby-foreman] 05/15: Fix tests

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Feb 4 17:29:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-foreman.

commit 78e165e3c9549baeb2c2907ffec3807045fdb0af
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Feb 4 13:00:43 2015 -0200

    Fix tests
---
 debian/ruby-tests.rake | 7 +++++++
 debian/ruby-tests.rb   | 1 -
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..dcc1601
--- /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 776272e..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1 +0,0 @@
-exec("rake")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-foreman.git



More information about the Pkg-ruby-extras-commits mailing list