initial commit hanami
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user