[DRE-commits] [ruby-ridley] 03/04: Disable some unit tests depending on old chef-zero releases
Miguel Landaeta
nomadium at moszumanska.debian.org
Sat Aug 15 13:10:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomadium pushed a commit to branch master
in repository ruby-ridley.
commit 374c75277d5effd4c8c5df494a233b39cad9c779
Author: Miguel Landaeta <nomadium at debian.org>
Date: Sat Aug 15 14:28:24 2015 +0200
Disable some unit tests depending on old chef-zero releases
---
...sts-depending-on-old-chef-zero-behaviours.patch | 33 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 34 insertions(+)
diff --git a/debian/patches/0004-Disable-tests-depending-on-old-chef-zero-behaviours.patch b/debian/patches/0004-Disable-tests-depending-on-old-chef-zero-behaviours.patch
new file mode 100644
index 0000000..19138a7
--- /dev/null
+++ b/debian/patches/0004-Disable-tests-depending-on-old-chef-zero-behaviours.patch
@@ -0,0 +1,33 @@
+Description: Disable some tests depending on old chef-zero releases behaviour
+Author: Miguel Landaeta <nomadium at debian.org>
+Forwarded: no
+Last-Update: 2015-08-15
+
+--- ruby-ridley-4.2.0.orig/spec/acceptance/client_resource_spec.rb
++++ ruby-ridley-4.2.0/spec/acceptance/client_resource_spec.rb
+@@ -62,7 +62,10 @@ describe "Client API operations", type:
+ expect(connection.client.delete_all).to each be_a(Ridley::ClientObject)
+ end
+
+- it "deletes all clients from the remote" do
++ # chef-zero version available in Debian "sid" right now (4.2.3)
++ # has a behaviour different to the one specified in the Gemfile
++ # (~> 1.5)
++ xit "deletes all clients from the remote" do
+ connection.client.delete_all
+ expect(connection.client.all.size).to eq(0)
+ end
+--- ruby-ridley-4.2.0.orig/spec/acceptance/user_resource_spec.rb
++++ ruby-ridley-4.2.0/spec/acceptance/user_resource_spec.rb
+@@ -62,7 +62,10 @@ describe "User API operations", type: "w
+ expect(connection.user.delete_all).to each be_a(Ridley::UserObject)
+ end
+
+- it "deletes all users from the remote" do
++ # chef-zero version available in Debian "sid" right now (4.2.3)
++ # has a behaviour different to the one specified in the Gemfile
++ # (~> 1.5)
++ xit "deletes all users from the remote" do
+ connection.user.delete_all
+ expect(connection.user.all.size).to eq(0)
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 2a706e9..3f524e5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-Don-t-use-rubygems-bundler-and-spork-in-tests-use-rs.patch
0002-Convert-specs-to-RSpec-3.0.4-syntax-with-Transpec.patch
0003-Disable-tests-that-require-network.patch
+0004-Disable-tests-depending-on-old-chef-zero-behaviours.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ridley.git
More information about the Pkg-ruby-extras-commits
mailing list