[DRE-commits] [ruby-enumerize] 05/07: disable some tests using simple_form and formtastic gems
Cédric Boutillier
boutil at moszumanska.debian.org
Thu Apr 23 14:35:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-enumerize.
commit e6378abd9efa4954211fc88fc5296a013ae07f0d
Author: Cédric Boutillier <boutil at debian.org>
Date: Thu Apr 23 10:34:34 2015 +0200
disable some tests using simple_form and formtastic gems
---
debian/TODO | 4 ++++
debian/patches/disable_some_tests.patch | 29 +++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 34 insertions(+)
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..8b237f6
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,4 @@
+possibly package simple_form and formtastic gems to run the full test suite,
+reactivate the tests and add them to Recommends once it's done.
+
+ -- Cédric Boutillier <boutil at debian.org> Thu, 23 Apr 2015 10:33:56 +0200
diff --git a/debian/patches/disable_some_tests.patch b/debian/patches/disable_some_tests.patch
new file mode 100644
index 0000000..8173d18
--- /dev/null
+++ b/debian/patches/disable_some_tests.patch
@@ -0,0 +1,29 @@
+Description: disable tests using simple_form or formtastic gems
+ Here we just prevent these gems to be loaded. The actual exclusion happens in
+ debian/ruby-tests.rake.
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: not-needed
+Last-Update: 2015-04-23
+
+--- a/test/test_helper.rb
++++ b/test/test_helper.rb
+@@ -2,15 +2,16 @@
+ require 'minitest/spec'
+ require 'active_support/core_ext/kernel/reporting'
+ require 'active_model'
++require 'action_view'
+ require 'rails'
+
+ module RailsAdmin
+ end
+
+-require 'simple_form'
+-SimpleForm.setup {}
++#require 'simple_form'
++#SimpleForm.setup {}
+
+-require 'formtastic'
++#require 'formtastic'
+
+ module EnumerizeTest
+ class Application < Rails::Application
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fc3a9e0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable_some_tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-enumerize.git
More information about the Pkg-ruby-extras-commits
mailing list