# frozen_string_literal: true

task :test do
  require './test/test_helper.rb'
  Dir.glob('./test/**/*_test.rb').each do |file|
    require file
  end
end

task :setup_test do
  ENV['RACK_ENV'] = 'test'
end
task test: [:setup_test]
