[DRE-commits] [ruby-listen] 01/02: refresh and extend skip_dependency_manager_test
Cédric Boutillier
boutil at alioth.debian.org
Fri Oct 18 21:27:59 UTC 2013
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-listen.
commit aaed5033b05e61fb735691de180d5d0981d61be8
Author: Cédric Boutillier <boutil at debian.org>
Date: Thu Oct 17 18:39:18 2013 +0200
refresh and extend skip_dependency_manager_test
---
debian/patches/skip_dependency_manager_test | 32 ++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 6 deletions(-)
diff --git a/debian/patches/skip_dependency_manager_test b/debian/patches/skip_dependency_manager_test
index a8a42d1..12cbd60 100644
--- a/debian/patches/skip_dependency_manager_test
+++ b/debian/patches/skip_dependency_manager_test
@@ -2,15 +2,27 @@ Description: Skip tests of the dependency manager
The dependency manager is disabled in Debian, since all the dependencies are
handled by APT.
Author: Srihari K <srih4ri at gmail.com>
-Last-Update: 2012-11-16
+Last-Update: 2013-10-17
--- a/spec/listen/dependency_manager_spec.rb
+++ b/spec/listen/dependency_manager_spec.rb
-@@ -55,15 +55,16 @@
+@@ -45,9 +45,10 @@
+ before { subject.dependency 'listen', '~> 0.0.1' }
+
+ context 'when dependencies can be loaded' do
+- before { subject.stub(:gem, :require) }
++ #before { subject.stub(:gem, :require) }
+
+ it 'loads all the registerd dependencies' do
++ pending 'Dependency manager not used for Debian'
+ subject.load_depenencies
+ subject.dependencies_loaded?.should be_true
+ end
+@@ -55,15 +56,16 @@
context 'when dependencies can not be loaded' do
it 'raises an error' do
-+ pending 'Dependency manager not used for debian'
++ pending 'Dependency manager not used for Debian'
expect {
subject.load_depenencies
}.to raise_error(described_class::Error)
@@ -21,11 +33,11 @@ Last-Update: 2012-11-16
-
+ # before { subject.should_receive(:running_under_bundler?).and_return(true) }
it 'includes the Gemfile declaration to satisfy the dependency' do
-+ pending 'Dependency manager not used for debian'
++ pending 'Dependency manager not used for Debian'
begin
subject.load_depenencies
rescue described_class::Error => e
-@@ -73,9 +74,10 @@
+@@ -73,9 +75,10 @@
end
context 'when not running under bundler' do
@@ -33,7 +45,15 @@ Last-Update: 2012-11-16
+ # before { subject.should_receive(:running_under_bundler?).and_return(false) }
it 'includes the command to install the dependency' do
-+ pending 'Dependency manager not used for debian'
++ pending 'Dependency manager not used for Debian'
begin
subject.load_depenencies
rescue described_class::Error => e
+@@ -93,6 +96,7 @@
+ end
+
+ it 'return true when dependencies are loaded' do
++ pending 'Dependency manager not used for Debian'
+ subject.stub(:gem, :require)
+
+ subject.dependency 'listen', '~> 0.0.1'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-listen.git
More information about the Pkg-ruby-extras-commits
mailing list