File: dont-use-bundler-in-tests.patch

package info (click to toggle)
ruby-jbuilder 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 280 kB
  • ctags: 122
  • sloc: ruby: 1,586; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: do not use bundler in tests
 This will force jbuilder.gemspec to be loaded, which will try to call git to
 get the list of files in the gem; we don't want that.
 .
 This patch is Debian-specific
Author: Antonio Terceiro <terceiro@debian.org>
Forwarded: not-needed

--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,4 +1,3 @@
-require "bundler/setup"
 require "active_support"
 require "rails/version"