[DRE-commits] [ruby-equalizer] 02/07: use ruby-tests.rake

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Dec 27 09:29:18 UTC 2013


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

praveen pushed a commit to branch master
in repository ruby-equalizer.

commit f4ca36b7db830a5f0b635709d1d826abdc0a692c
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Dec 27 14:47:32 2013 +0530

    use ruby-tests.rake
---
 debian/ruby-test-files.yaml | 5 -----
 debian/ruby-tests.rake      | 9 +++++++++
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 5bec20a..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-- spec/unit/equalizer/included_spec.rb
-- spec/unit/equalizer/methods/eql_predicate_spec.rb
-- spec/unit/equalizer/methods/equality_operator_spec.rb
-- spec/unit/equalizer/universal_spec.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..b19d021
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,9 @@
+$: << 'spec'
+
+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/ruby-equalizer.git



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