require "<%= @options.fetch(:framework, nil).nil? || @options.fetch(:framework) == :rails ? "rails_helper" : "spec_helper" %>" require "rack/test" require_relative "./support/matchers/rambo_matchers" module ApiHelper include Rack::Test::Methods def app require "active_support/core_ext/class/subclasses" <%= app_classes.fetch(@options.fetch(:framework, :rails)) %> end end RSpec.configure do |config| config.include ApiHelper, type: :rambo end