Package: ruby-redcloth
Version: 4.2.9-4
Severity: minor
Tags: patch
User: pkg-ruby-extras-maintain...@lists.alioth.debian.org
Usertags: rspec3

Dear maintainer,

This package uses the RSpec framework for the tests. RSpec v2 currently in
unstable will soon be replaced by the v3, already present in experimental.

Many deprecated features in RSpec2 are now errors in RSpec3 and the test suite
as is will fail with RSpec3. Please find attached a patch to adapt the test
suite to RSpec3. Feel free to update it and forward it upstream.

Best wishes,

For the Debian Ruby team,

Cédric

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ruby-redcloth depends on:
ii  libc6       2.19-18
ii  libgmp10    2:6.0.0+dfsg-6
ii  libruby2.1  2.1.5-3
ii  ruby        1:2.1.5

ruby-redcloth recommends no packages.

ruby-redcloth suggests no packages.

-- no debconf information
--- a/spec/parser_spec.rb
+++ b/spec/parser_spec.rb
@@ -6,13 +6,13 @@
     it "should accept options" do
       lambda {
         RedCloth.new("test", [:hard_breaks])
-      }.should_not raise_error(ArgumentError)
+      }.should_not raise_error
     end
   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

Attachment: signature.asc
Description: Digital signature

Reply via email to