initial commit hanami

This commit is contained in:
2024-09-06 12:59:40 -07:00
commit d0010a5c9b
32 changed files with 1505 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# frozen_string_literal: true
require "rack/test"
RSpec.shared_context "Rack::Test" do
# Define the app for Rack::Test requests
let(:app) { Hanami.app }
end
RSpec.configure do |config|
config.include Rack::Test::Methods, type: :request
config.include_context "Rack::Test", type: :request
end