<commit_before>require 'rails_helper'

RSpec.describe 'Runs', type: :request do
  describe 'GET /runs' do
    it 'gets the runs' do
      get runs_path(api_key: ENV['API_KEY'])
      expect(response).to have_http_status(200)
    end
  end
end<commit_msg>more specs<commit_after>require 'rails_helper'

RSpec.describe 'Runs', type: :request do
  describe 'GET /runs' do
    it 'gets the runs' do
      get runs_path(api_key: ENV['API_KEY'])
      expect(response).to have_http_status(200)
    end

    it 'doesnt get the runs when not authenticated' do
      get runs_path
      expect(response).to have_http_status(401)
    end

  end
end
{'fraction_non_alphanumeric': 0.0987460815047022, 'fraction_numerical': 0.014106583072100314, 'mean_word_length': 3.5319148936170213, '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': '5739458', 'n_tokens_mistral': 233, 'n_tokens_neox': 218, 'n_words': 62}