<commit_before>require_relative '../test_helper'

include Rack::Test::Methods

class TestApp < Rulers::Application
end

def app
  TestApp.new
end

describe TestApp do
  describe "test_request" do
    it "Returns hello" do
      get "/"

      last_response.must_be :ok?
      last_response.body.must_be :include?, "Hello"
    end
  end
end<commit_msg>Update test<commit_after>require_relative '../test_helper'

include Rack::Test::Methods

class TestController < Rulers::Controller
  def index
    "Hello!"
  end
end

class TestApp < Rulers::Application
  def get_controller_and_action(env)
    [TestController, 'index']
  end
end

def app
  TestApp.new
end

describe TestApp do
  describe "test_request" do
    it "Returns hello" do
      get "/example/route"

      last_response.must_be :ok?
      last_response.body.must_be :include?, "Hello"
    end
  end
end
{'fraction_non_alphanumeric': 0.09259259259259259, 'fraction_numerical': 0.0, 'mean_word_length': 3.601063829787234, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7294662', 'n_tokens_mistral': 291, 'n_tokens_neox': 284, 'n_words': 76}