lib/hoboken/templates/test/test_helper.rb.tt in hoboken-0.9.0 vs lib/hoboken/templates/test/test_helper.rb.tt in hoboken-0.10.0
- old
+ new
@@ -1,24 +1,21 @@
# frozen_string_literal: true
ENV['RACK_ENV'] = 'test'
-require 'bundler/setup'
+require_relative '../config/environment'
require 'warning'
# Ignore all warnings in Gem dependencies
Gem.path.each { |path| Warning.ignore(//, path) }
-require 'dotenv'
require 'test/unit'
require 'contest'
+require 'pry-byebug'
require 'rack/test'
require_relative 'support/rack_helpers'
-require_relative '../app'
-
-Dotenv.load
module Test
module Unit
class TestCase
# Syntactic sugar for defining a memoized helper method.