[DRE-commits] [ruby-cliver] 01/02: Create patch to fix package tests
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Tue Mar 1 17:49:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
lucasmoura-guest pushed a commit to branch master
in repository ruby-cliver.
commit 25a7992732c23a0b8723d6cdaa7c70508a3225b2
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Tue Mar 1 13:55:09 2016 -0300
Create patch to fix package tests
In order to fix the package test, it was necessary to update some
test method to new rspec methos, such as be_falsey.
---
debian/changelog | 7 +++++
debian/patches/fix_tests_for_rspec3.3.0.patch | 40 +++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 48 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index fab560c..0b05280 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-cliver (0.3.2-2) unstable; urgency=medium
+
+ * Team upload.
+ * Fix tests for new rspec version 3.3.0
+
+ -- Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com> Tue, 01 Mar 2016 13:54:06 -0300
+
ruby-cliver (0.3.2-1) unstable; urgency=medium
* Initial release (Closes: #797136)
diff --git a/debian/patches/fix_tests_for_rspec3.3.0.patch b/debian/patches/fix_tests_for_rspec3.3.0.patch
new file mode 100644
index 0000000..1e43deb
--- /dev/null
+++ b/debian/patches/fix_tests_for_rspec3.3.0.patch
@@ -0,0 +1,40 @@
+Index: ruby-cliver/spec/cliver_spec.rb
+===================================================================
+--- ruby-cliver.orig/spec/cliver_spec.rb 2016-03-01 13:49:50.498689244 -0300
++++ ruby-cliver/spec/cliver_spec.rb 2016-03-01 13:51:24.978428202 -0300
+@@ -62,7 +62,7 @@
+
+ context '::dependency_unmet?' do
+ let(:method) { :dependency_unmet? }
+- it { should be_false }
++ it { should be_falsey }
+ end
+ context '::detect' do
+ let(:method) { :detect }
+@@ -191,7 +191,7 @@
+ end
+ context '::dependency_unmet?' do
+ let(:method) { :dependency_unmet? }
+- it { should be_true }
++ it { should be_truthy }
+ end
+ context '::detect' do
+ let(:method) { :detect }
+@@ -219,7 +219,7 @@
+ end
+ context '::dependency_unmet?' do
+ let(:method) { :dependency_unmet? }
+- it { should be_true }
++ it { should be_truthy }
+ end
+ context '::detect' do
+ let(:method) { :detect }
+@@ -246,7 +246,7 @@
+ end
+ context '::dependency_unmet?' do
+ let(:method) { :dependency_unmet? }
+- it { should be_true }
++ it { should be_truthy }
+ end
+ context '::detect' do
+ let(:method) { :detect }
diff --git a/debian/patches/series b/debian/patches/series
index ff9ea33..8dbe2ec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+fix_tests_for_rspec3.3.0.patch
cliver.rb.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-cliver.git
More information about the Pkg-ruby-extras-commits
mailing list