[DRE-commits] [ruby-mini-magick] 02/08: Refresh 'remove-remote-tests' patch
David Suárez
deiv-guest at moszumanska.debian.org
Sun Oct 5 18:35:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
deiv-guest pushed a commit to branch master
in repository ruby-mini-magick.
commit aad5ae2cb3742fb1742a53c1fdf05d2ac11c229d
Author: David Suárez <david.sephirot at gmail.com>
Date: Sun Oct 5 20:20:24 2014 +0200
Refresh 'remove-remote-tests' patch
---
debian/patches/remove-remote-tests | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/debian/patches/remove-remote-tests b/debian/patches/remove-remote-tests
index 779c5b0..25b1be6 100644
--- a/debian/patches/remove-remote-tests
+++ b/debian/patches/remove-remote-tests
@@ -5,24 +5,38 @@ Forwarded: no
Last-Update: 2013-12-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/spec/lib/mini_magick/image_spec.rb
-+++ b/spec/lib/mini_magick/image_spec.rb
-@@ -57,18 +57,6 @@
- end.to_not raise_error
+--- ruby-mini-magick-3.8.1.orig/spec/lib/mini_magick/image_spec.rb
++++ ruby-mini-magick-3.8.1/spec/lib/mini_magick/image_spec.rb
+@@ -130,19 +130,19 @@ describe MiniMagick::Image do
+ }.to_not raise_error
end
- it 'loads remote image' do
-- image = MiniMagick::Image.open("http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png")
-- image.valid?.should be true
+- image = described_class.open('http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png')
+- expect(image).to be_valid
- image.destroy!
- end
-
- it 'loads remote image with complex url' do
-- image = MiniMagick::Image.open("http://a0.twimg.com/a/1296609216/images/fronts/logo_withbird_home.png?extra=foo&plus=bar")
-- image.valid?.should be true
+- image = described_class.open(
+- 'http://a0.twimg.com/a/1296609216/images/fronts/logo_withbird_home.png?extra=foo&plus=bar'
+- )
+- expect(image).to be_valid
- image.destroy!
- end
--
++# it 'loads remote image' do
++# image = described_class.open('http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png')
++# expect(image).to be_valid
++# image.destroy!
++# end
++#
++# it 'loads remote image with complex url' do
++# image = described_class.open(
++# 'http://a0.twimg.com/a/1296609216/images/fronts/logo_withbird_home.png?extra=foo&plus=bar'
++# )
++# expect(image).to be_valid
++# image.destroy!
++# end
+
it 'reformats an image with a given extension' do
- expect do
- image = MiniMagick::Image.open(CAP_EXT_PATH)
+ expect {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mini-magick.git
More information about the Pkg-ruby-extras-commits
mailing list