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