[DRE-commits] [SCM] cucumber.git branch, master, updated. debian/1.0.2-2-12-gbddf4a3

Cédric Boutillier cedric.boutillier at gmail.com
Thu Jun 21 23:04:19 UTC 2012


The following commit has been merged in the master branch:
commit 44e19662b2f624db98ad9b48ad66c91ce3764088
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Wed Jun 20 21:11:44 2012 +0200

    Add 003-Disable-tests-assuming-ordered-hashes.patch: disable tests relying on ordered hashes

diff --git a/debian/patches/0003-Disable-tests-assuming-ordered-hashes.patch b/debian/patches/0003-Disable-tests-assuming-ordered-hashes.patch
new file mode 100644
index 0000000..26ad1cf
--- /dev/null
+++ b/debian/patches/0003-Disable-tests-assuming-ordered-hashes.patch
@@ -0,0 +1,28 @@
+Description: deactivate specs relying on the order of Hashes
+ This order is not garanteed with Ruby 1.8
+Origin: vendor
+Bug: https://github.com/cucumber/cucumber/issues/292
+Last-Update: 2011-06-20
+
+--- a/spec/cucumber/ast/table_spec.rb
++++ b/spec/cucumber/ast/table_spec.rb
+@@ -491,7 +491,7 @@
+       end
+ 
+       describe "#new" do
+-        it "should allow Array of Hash" do
++        xit "should allow Array of Hash" do
+           t1 = Table.new([{'name' => 'aslak', 'male' => 'true'}])
+           t1.to_s(:indent => 12, :color => false).should == %{
+             |     name  |     male |
+--- a/spec/cucumber/cli/configuration_spec.rb
++++ b/spec/cucumber/cli/configuration_spec.rb
+@@ -167,7 +167,7 @@
+         config.options[:require].should include('some_file')
+       end
+ 
+-      it "provides a helpful error message when a specified profile does not exists in cucumber.yml" do
++      xit "provides a helpful error message when a specified profile does not exists in cucumber.yml" do
+         given_cucumber_yml_defined_as({'default' => '--require from/yml', 'html_report' =>  '--format html'})
+ 
+         expected_message = <<-END_OF_MESSAGE
diff --git a/debian/patches/series b/debian/patches/series
index 98fd8f2..0206473 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Remove-rubygems-bundler-stuff-from-spec_helper.patch
 0002-Remove-require-rubygems-statements.patch
+0003-Disable-tests-assuming-ordered-hashes.patch

-- 
cucumber.git



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