[DRE-commits] [ruby-hitimes] 03/08: use ruby-tests.rake

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Apr 2 14:33:05 UTC 2014


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

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

commit 2ed82e90235b3537ad1675008740346f4f7d0625
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Apr 2 19:32:26 2014 +0530

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

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 821ce0e..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-- spec/hitimes_spec.rb
-- spec/interval_spec.rb
-- spec/metric_spec.rb
-- spec/mutex_stats_spec.rb
-- spec/paths_spec.rb
-- spec/spec_helper.rb
-- spec/stats_spec.rb
-- spec/timed_metric_spec.rb
-- spec/timed_value_metric_spec.rb
-- spec/value_metric_spec.rb
-- spec/version_spec.rb
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

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



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