[DRE-commits] [ruby-omniauth-oauth] 03/11: disable network tests
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon May 5 08:19:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-omniauth-oauth.
commit 6ef705350c24df2c5295f35f05d441993bc5aeb4
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Mon May 5 13:13:12 2014 +0530
disable network tests
---
debian/changelog | 1 +
debian/patches/disable-network-tests.patch | 11 +++++++++++
debian/patches/series | 1 +
3 files changed, 13 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index dc0bed7..020a78e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-omniauth-oauth (1.0.1-2) UNRELEASED; urgency=low
* Rebuild with gem2deb >= 0.7.5 (install gemspec for all ruby versions)
* Bump standards version to 3.9.5 (no changes)
* Run tests (add ruby-tests.rake)
+ * Disable network tests with patch
-- Pirate Praveen <praveen at debian.org> Mon, 05 May 2014 13:00:49 +0530
diff --git a/debian/patches/disable-network-tests.patch b/debian/patches/disable-network-tests.patch
new file mode 100644
index 0000000..9510d99
--- /dev/null
+++ b/debian/patches/disable-network-tests.patch
@@ -0,0 +1,11 @@
+--- a/spec/omniauth/strategies/oauth_spec.rb
++++ b/spec/omniauth/strategies/oauth_spec.rb
+@@ -55,7 +55,7 @@
+ session['oauth'].should == {"example.org" => {'callback_confirmed' => true, 'request_token' => 'yourtoken', 'request_secret' => 'yoursecret'}}
+ end
+
+- it 'should pass request_params to get_request_token' do
++ xit 'should pass request_params to get_request_token' do
+ get '/auth/example.org_with_request_params'
+ WebMock.should have_requested(:post, 'https://api.example.org/oauth/request_token').
+ with {|req| req.body == "scope=http%3a%2f%2ffoobar.example.org" }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ac5717b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-network-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-omniauth-oauth.git
More information about the Pkg-ruby-extras-commits
mailing list