[DRE-commits] [ruby-thor] 01/03: Disable testsuite as it's completely broken now
zeha at debian.org
zeha at debian.org
Tue Aug 18 22:13:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository ruby-thor.
commit 85b4c9018bfd11dc5575154a5918198331db50c5
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Tue Aug 18 22:03:39 2015 +0000
Disable testsuite as it's completely broken now
Closes: #795717
---
debian/patches/disable-some-tests | 29 +++++++++++++++++++++--------
debian/ruby-tests.rake | 7 -------
2 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/debian/patches/disable-some-tests b/debian/patches/disable-some-tests
index 0a324f8..d092cc9 100644
--- a/debian/patches/disable-some-tests
+++ b/debian/patches/disable-some-tests
@@ -5,10 +5,10 @@ Debian.
It also disables two tests that only test for correct usage of white-
space and quoting, which fail because of encoding issues during build.
-diff --git a/spec/helper.rb b/spec/helper.rb
-index fbdb4ce..ab1e4d9 100644
---- a/spec/helper.rb
-+++ b/spec/helper.rb
+Index: ruby-thor/spec/helper.rb
+===================================================================
+--- ruby-thor.orig/spec/helper.rb
++++ ruby-thor/spec/helper.rb
@@ -1,18 +1,5 @@
$TESTING = true
@@ -36,10 +36,10 @@ index fbdb4ce..ab1e4d9 100644
# Set shell to basic
$0 = "thor"
-diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb
-index 94f5100..23864ef 100644
---- a/spec/quality_spec.rb
-+++ b/spec/quality_spec.rb
+Index: ruby-thor/spec/quality_spec.rb
+===================================================================
+--- ruby-thor.orig/spec/quality_spec.rb
++++ ruby-thor/spec/quality_spec.rb
@@ -48,7 +48,7 @@ describe "The library itself" do
end
end
@@ -58,3 +58,16 @@ index 94f5100..23864ef 100644
included = /spec/
error_messages = []
Dir.chdir(File.expand_path("../", __FILE__)) do
+Index: ruby-thor/spec/command_spec.rb
+===================================================================
+--- ruby-thor.orig/spec/command_spec.rb
++++ ruby-thor/spec/command_spec.rb
+@@ -56,7 +56,7 @@ describe Thor::Command do
+ end
+
+ describe "#run" do
+- it "runs a command by calling a method in the given instance" do
++ xit "runs a command by calling a method in the given instance" do
+ dub = double
+ expect(dub).to receive(:can_has).and_return { |*args| args }
+ expect(command.run(dub, [1, 2, 3])).to eq([1, 2, 3])
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index b0bf936..0000000
--- a/debian/ruby-tests.rake
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'rspec/core/rake_task'
-
-RSpec::Core::RakeTask.new(:spec) do |spec|
- spec.pattern = './spec/*_spec.rb'
-end
-
-task :default => :spec
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-thor.git
More information about the Pkg-ruby-extras-commits
mailing list