test/helper.rb in assert-rack-test-1.1.0 vs test/helper.rb in assert-rack-test-1.1.1
- old
+ new
@@ -1,10 +1,12 @@
-# this file is automatically required when you run `assert`
-# put any test helpers here
+# frozen_string_literal: true
+# This file is automatically required when you run `assert`
+# put any test helpers here.
+
# add the root dir to the load path
-$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
+$LOAD_PATH.unshift(File.expand_path("..", __dir__))
# require pry for debugging (`binding.pry`)
-require 'pry'
+require "pry"
-require 'test/support/factory'
+require "test/support/factory"