[DRE-commits] [ruby-omniauth-oauth] 03/06: refresh patches
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Aug 5 13:51:28 UTC 2015
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 34b222750494bc893ab81e28ac507e88bfe2959b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Aug 5 17:05:11 2015 +0530
refresh patches
---
debian/changelog | 1 +
debian/patches/disable-network-tests.patch | 20 +++++++++++---------
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7c0922f..0495da0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ruby-omniauth-oauth (1.1.0-1) UNRELEASED; urgency=medium
* New upstream release
+ * Refresh patches
-- Pirate Praveen <praveen at debian.org> Wed, 05 Aug 2015 17:02:37 +0530
diff --git a/debian/patches/disable-network-tests.patch b/debian/patches/disable-network-tests.patch
index 9510d99..f201a8b 100644
--- a/debian/patches/disable-network-tests.patch
+++ b/debian/patches/disable-network-tests.patch
@@ -1,11 +1,13 @@
---- 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'}}
+Index: ruby-omniauth-oauth/spec/omniauth/strategies/oauth_spec.rb
+===================================================================
+--- ruby-omniauth-oauth.orig/spec/omniauth/strategies/oauth_spec.rb
++++ ruby-omniauth-oauth/spec/omniauth/strategies/oauth_spec.rb
+@@ -55,7 +55,7 @@ describe "OmniAuth::Strategies::OAuth" d
+ expect(session["oauth"]).to eq("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" }
+- 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"
+ expect(WebMock).to have_requested(:post, "https://api.example.org/oauth/request_token").
+ with { |req| req.body == "scope=http%3A%2F%2Ffoobar.example.org" }
--
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