File: 0001-cleanup_spec_helper.patch

package info (click to toggle)
ruby-grape-entity 0.10.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 452 kB
  • sloc: ruby: 3,328; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 582 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: clean up require stuff from spec_helper
Author: Lucas Kanashiro <kanashiro@debian.org>
Last-Updated: 2016-11-29

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -15,13 +15,6 @@
 
 Coveralls.wear! unless RUBY_PLATFORM.eql? 'java'
 
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'support'))
-
-require 'rubygems'
-require 'bundler'
-
-Bundler.require :default, :test
+require 'grape_entity'
 
 RSpec.configure(&:raise_errors_for_deprecations!)