File: 0001-cleanup_spec_helper.patch

package info (click to toggle)
ruby-grape-entity 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 408 kB
  • ctags: 335
  • sloc: ruby: 2,826; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
@@ -1,10 +1,3 @@
-$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!)