<commit_before>require 'rails_helper'

RSpec.describe ErrorsController, type: :controller do

  describe "GET #not_found" do
    it "returns http success" do
      get :not_found
      expect(response).to have_http_status(:success)
    end
  end

  describe "GET #internal_server_error" do
    it "returns http success" do
      get :internal_server_error
      expect(response).to have_http_status(:success)
    end
  end

end<commit_msg>Fix error pages tests<commit_after>require 'rails_helper'

RSpec.describe ErrorsController, type: :controller do

  describe "GET #not_found" do
    it "returns http 404" do
      get :not_found
      expect(response).to have_http_status(404)
    end
  end

  describe "GET #internal_server_error" do
    it "returns http 500" do
      get :internal_server_error
      expect(response).to have_http_status(500)
    end
  end

end
{'fraction_non_alphanumeric': 0.07373271889400922, 'fraction_numerical': 0.013824884792626729, 'mean_word_length': 3.622340425531915, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6333952', 'n_tokens_mistral': 286, 'n_tokens_neox': 267, 'n_words': 78}