[DRE-commits] [ruby-memoizable] 02/09: use ruby-tests.rake
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Apr 22 06:27:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-memoizable.
commit e6c753d8c85f0106c41a77fcd1caf4317216ba59
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Apr 22 10:56:39 2014 +0530
use ruby-tests.rake
---
debian/ruby-test-files.yaml | 14 --------------
debian/ruby-tests.rake | 7 +++++++
2 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 623bf21..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
----
-- spec/unit/memoizable/class_methods/included_spec.rb
-- spec/unit/memoizable/fixtures/classes.rb
-- spec/unit/memoizable/instance_methods/freeze_spec.rb
-- spec/unit/memoizable/instance_methods/memoize_spec.rb
-- spec/unit/memoizable/memory_spec.rb
-- spec/unit/memoizable/method_builder/call_spec.rb
-- spec/unit/memoizable/method_builder/class_methods/new_spec.rb
-- spec/unit/memoizable/method_builder/original_method_spec.rb
-- spec/unit/memoizable/module_methods/included_spec.rb
-- spec/unit/memoizable/module_methods/memoize_spec.rb
-- spec/unit/memoizable/module_methods/memoized_predicate_spec.rb
-- spec/unit/memoizable/module_methods/unmemoized_instance_method_spec.rb
-- spec/integration/serializable_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-memoizable.git
More information about the Pkg-ruby-extras-commits
mailing list