[DRE-commits] [ruby-carrierwave] 01/05: Make tests run
Balasankar C
balasankarc-guest at moszumanska.debian.org
Tue Feb 2 17:44:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-carrierwave.
commit 30123aebb59d836d57197768c62a778f3e4f1fda
Author: Balasankar C <balasankarc at autistici.org>
Date: Tue Feb 2 23:07:19 2016 +0530
Make tests run
---
debian/patches/add-available-locales.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/add-available-locales.patch b/debian/patches/add-available-locales.patch
new file mode 100644
index 0000000..1831f12
--- /dev/null
+++ b/debian/patches/add-available-locales.patch
@@ -0,0 +1,15 @@
+Description: Set available locales before running tests
+Author: Balasankar C <balasankarc at autistici.org
+Last-Update: 2016-02-02
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -41,6 +41,7 @@
+
+ CarrierWave.root = public_path
+ I18n.load_path << File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "carrierwave", "locale", 'en.yml'))
++I18n.available_locales = :nl, :foo, :en
+
+ module CarrierWave
+ module Test
diff --git a/debian/patches/series b/debian/patches/series
index 6711150..8edf1c5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
disable_mysql2.patch
remove-rubygems-require.patch
fix-download-test.patch
+add-available-locales.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-carrierwave.git
More information about the Pkg-ruby-extras-commits
mailing list