[DRE-commits] [ruby-redcloth] 01/02: Rspec patch

Balasankar C balasankarc-guest at moszumanska.debian.org
Wed Jul 8 18:14:46 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-redcloth.

commit e79f2ba7d6ed0a860046f4292b0ed7d330d27291
Author: Balasankar C <balasankarc at autistici.org>
Date:   Wed Jul 8 23:28:32 2015 +0530

    Rspec patch
---
 debian/patches/rspec3-test-fix | 22 ++++++++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/rspec3-test-fix b/debian/patches/rspec3-test-fix
new file mode 100644
index 0000000..70c9af0
--- /dev/null
+++ b/debian/patches/rspec3-test-fix
@@ -0,0 +1,22 @@
+--- a/spec/parser_spec.rb
++++ b/spec/parser_spec.rb
+@@ -11,8 +11,8 @@
+   end
+   
+   it "should have a VERSION" do
+-    RedCloth.const_defined?("VERSION").should be_true
+-    RedCloth::VERSION.const_defined?("STRING").should be_true
++    RedCloth.const_defined?("VERSION").should be_truthy
++    RedCloth::VERSION.const_defined?("STRING").should be_truthy
+   end
+   
+   it "should show the version as a string" do
+@@ -21,7 +21,7 @@
+   end
+   
+   it "should have EXTENSION_LANGUAGE" do
+-    RedCloth.const_defined?("EXTENSION_LANGUAGE").should be_true
++    RedCloth.const_defined?("EXTENSION_LANGUAGE").should be_truthy
+     RedCloth::EXTENSION_LANGUAGE.should_not be_empty
+     RedCloth::DESCRIPTION.should include(RedCloth::EXTENSION_LANGUAGE)
+   end
diff --git a/debian/patches/series b/debian/patches/series
index 8cc0ce7..92d21c3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+rspec3-test-fix
 0001-restore-extconf.rb.patch
 0001-Filter-out-javascript-links-when-using-filter_html-o.patch

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



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