[DRE-commits] [ruby-redis-store] 03/03: Make tests run
Balasankar C
balasankarc-guest at moszumanska.debian.org
Sat Jul 4 19:30:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-redis-store.
commit 5331d4570468a360b6cb4199e6fb6278f5191c45
Author: Balasankar C <balasankarc at autistici.org>
Date: Sun Jul 5 00:23:48 2015 +0530
Make tests run
---
debian/patches/minitest-value | 40 ++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 41 insertions(+)
diff --git a/debian/patches/minitest-value b/debian/patches/minitest-value
new file mode 100644
index 0000000..d55cae2
--- /dev/null
+++ b/debian/patches/minitest-value
@@ -0,0 +1,40 @@
+Description: Rename minitest keyword value used in test
+ Test uses the keyword value as a variable. Replace it with value1
+Author: Balasankar C <balasankarc at autistici.org>
+Last-Update: 2015-07-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/redis/store_test.rb
++++ b/test/redis/store_test.rb
+@@ -23,13 +23,13 @@
+ describe '#set' do
+ describe 'with expiry' do
+ let(:key) { 'key' }
+- let(:value) { 'value' }
++ let(:value1) { 'value' }
+ let(:options) { { :expire_after => 3600 } }
+
+ it 'must not double marshall' do
+ Marshal.expects(:dump).once
+
+- @store.set(key, value, options)
++ @store.set(key, value1, options)
+ end
+ end
+ end
+@@ -37,13 +37,13 @@
+ describe '#setnx' do
+ describe 'with expiry' do
+ let(:key) { 'key' }
+- let(:value) { 'value' }
++ let(:value1) { 'value' }
+ let(:options) { { :expire_after => 3600 } }
+
+ it 'must not double marshall' do
+ Marshal.expects(:dump).once
+
+- @store.setnx(key, value, options)
++ @store.setnx(key, value1, options)
+ end
+ end
+ end
diff --git a/debian/patches/series b/debian/patches/series
index a51ad82..bde11fc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+minitest-value
Bundler
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-redis-store.git
More information about the Pkg-ruby-extras-commits
mailing list