[DRE-commits] [ruby-mini-magick] 06/06: Remove deprecated test
Sruthi Chandran
srud-guest at moszumanska.debian.org
Wed Jun 28 10:01:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
srud-guest pushed a commit to branch master
in repository ruby-mini-magick.
commit 8330b256795ff7939a4f7d8b5c8c2f17c357a427
Author: Sruthi Chandran <srud at disroot.org>
Date: Wed Jun 28 14:51:55 2017 +0530
Remove deprecated test
---
debian/patches/remove-deprecated-test.patch | 33 +++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 34 insertions(+)
diff --git a/debian/patches/remove-deprecated-test.patch b/debian/patches/remove-deprecated-test.patch
new file mode 100644
index 0000000..c7963e5
--- /dev/null
+++ b/debian/patches/remove-deprecated-test.patch
@@ -0,0 +1,33 @@
+Remove deprecated test
+
+--- a/spec/lib/mini_magick/image_spec.rb
++++ b/spec/lib/mini_magick/image_spec.rb
+@@ -402,17 +402,17 @@
+ end
+
+ describe "#details" do
+- it "returns a hash of verbose information" do
+- expect(subject.details["Format"]).to match /^JPEG/
+- if MiniMagick.cli == :imagemagick
+- expect(subject.details["Channel depth"]["Red"]).to eq "8-bit"
+- expect(subject.details).to have_key("Background color")
+- expect(subject.details["Properties"]).to have_key("date:create")
+- else
+- expect(subject.details["Channel Depths"]["Red"]).to eq "8 bits"
+- expect(subject.details).to have_key("Resolution")
+- end
+- end
++# it "returns a hash of verbose information" do
++# expect(subject.details["Format"]).to match /^JPEG/
++# if MiniMagick.cli == :imagemagick
++# expect(subject.details["Channel depth"]["Red"]).to eq "8-bit"
++# expect(subject.details).to have_key("Background color")
++# expect(subject.details["Properties"]).to have_key("date:create")
++# else
++# expect(subject.details["Channel Depths"]["Red"]).to eq "8 bits"
++# expect(subject.details).to have_key("Resolution")
++# end
++# end
+
+ context "when verbose information includes an empty line" do
+ subject { described_class.new(image_path(:empty_identify_line)) }
diff --git a/debian/patches/series b/debian/patches/series
index 7c6f541..8907783 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
#remove-unsuported-rspec-features
skip-tests-temporarily.patch
remove-rubygems
+remove-deprecated-test.patch
--
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