[DRE-commits] [ruby-httparty] 03/10: use the rake method to run examples

Cédric Boutillier boutil at moszumanska.debian.org
Sun Jan 12 10:06:27 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-httparty.

commit 059d3f247778e3fa4e1803bfbf4ad0546699341d
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Dec 17 14:20:35 2013 +0100

    use the rake method to run examples
---
 debian/ruby-test-files.yaml | 18 ------------------
 debian/ruby-tests.rake      |  7 +++++++
 2 files changed, 7 insertions(+), 18 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index d853302..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
----
-- features/steps/env.rb
-- features/steps/httparty_response_steps.rb
-- features/steps/httparty_steps.rb
-- features/steps/mongrel_helper.rb
-- features/steps/remote_service_steps.rb
-- spec/httparty/connection_adapter_spec.rb
-- spec/httparty/cookie_hash_spec.rb
-- spec/httparty/net_digest_auth_spec.rb
-- spec/httparty/parser_spec.rb
-- spec/httparty/request_spec.rb
-- spec/httparty/response_spec.rb
-- spec/httparty/ssl_spec.rb
-- spec/httparty_spec.rb
-- spec/spec_helper.rb
-- spec/support/ssl_test_helper.rb
-- spec/support/ssl_test_server.rb
-- spec/support/stub_response.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..fe880e9
--- /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'
+#  spec.spec_opts = ['--options', 'spec/spec.opts']
+end
+
+task :default => :spec

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



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