lib/hanami/rspec/generators/helper.rb in hanami-rspec-2.2.1 vs lib/hanami/rspec/generators/helper.rb in hanami-rspec-3.11.0.beta1
- old
+ new
@@ -4,6 +4,7 @@
SPEC_ROOT = Pathname(__dir__).realpath.freeze
ENV["HANAMI_ENV"] ||= "test"
require "hanami/prepare"
-SPEC_ROOT.glob("support/**/*.rb").each { |f| require f }
+require_relative "support/rspec"
+require_relative "support/requests"