[DRE-commits] [ruby-rubyvis] 03/10: Fix tests

Balint Reczey rbalint at moszumanska.debian.org
Tue May 26 23:28:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

rbalint pushed a commit to branch master
in repository ruby-rubyvis.

commit c55c539b3d4b759c47e5ec3de7c20bbff78b6efd
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Tue May 26 17:32:52 2015 +0200

    Fix tests
---
 debian/patches/series                    |  1 +
 debian/patches/work_with_old_rspec.patch | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1a9ac16
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+work_with_old_rspec.patch
diff --git a/debian/patches/work_with_old_rspec.patch b/debian/patches/work_with_old_rspec.patch
new file mode 100644
index 0000000..efe6740
--- /dev/null
+++ b/debian/patches/work_with_old_rspec.patch
@@ -0,0 +1,13 @@
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index edd08fe..f2e6fca 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -95,7 +95,7 @@ end
+ RSpec::Matchers.define :have_svg_attributes do |exp|
+   match do |obs|
+     exp.each {|k,v|
+-      obs.attributes[k].should be_truthy
++#      obs.attributes[k].should be_truthy
+       obs.attributes[k].value.should==v
+     }
+   end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rubyvis.git



More information about the Pkg-ruby-extras-commits mailing list