[DRE-commits] [ruby-fog-serverlove] 03/04: Fixing tests

Balasankar C balasankarc-guest at moszumanska.debian.org
Mon Mar 9 12:13:44 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-fog-serverlove.

commit 449b09d8fdcaf6f6cd193f69edbfd116e7e1fb4e
Author: Balasankar C <balasankarc at autistici.org>
Date:   Mon Mar 9 17:31:34 2015 +0530

    Fixing tests
---
 debian/ruby-tests.rake  |  7 -------
 debian/ruby-tests.rb    |  1 +
 debian/tests/control.ex | 13 -------------
 3 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index 99987ae..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
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..0ec439b
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1 @@
+system "FOG_MOCK=true shindont"
diff --git a/debian/tests/control.ex b/debian/tests/control.ex
deleted file mode 100644
index 429a392..0000000
--- a/debian/tests/control.ex
+++ /dev/null
@@ -1,13 +0,0 @@
-# AUTOGENERATED FILE
-#
-# As of autopkgtest 3.5, Ruby packages that use gem2deb are automatically
-# detected, and if debian/tests/control does not exist the contents below will
-# be assumed (with the exception of gem2deb being filtered out from
-# @builddeps@):
-
-Test-Command: gem2deb-test-runner --autopkgtest 2>&1
-Depends: @, @builddeps@, gem2deb-test-runner
-
-# if you would need to change something to the above, to that and rename this
-# file to `control`. Otherwise, you should probably delete this file
-# (recommended).

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



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