File: remove_rubygems_from_tests.patch

package info (click to toggle)
ruby-roxml 3.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 772 kB
  • ctags: 532
  • sloc: ruby: 4,066; xml: 1,013; makefile: 6
file content (27 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: do not require explicitly rubygems in tests
Author: Cédric Boutillier <boutil@debian.org>
Forwarded: no
Last-Update: 2013-04-18

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,4 @@
 require 'ostruct'
-require 'rubygems'
 require 'pathname'
 require 'ostruct'
 require 'roxml'
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,4 +1,3 @@
-require 'rubygems'
 require 'active_support/test_case'
 require_relative './mocks/mocks'
 require_relative './mocks/dictionaries'
@@ -31,4 +30,4 @@
     end
   end
   xml
-end
\ No newline at end of file
+end