<commit_before>require "webmock/rspec"

require "radar"

RSpec.describe Radar, ".status_for" do
  context "when the airport can be found" do
    before do
      stub_request(:get, "http://services.faa.gov/airport/status/JFK").
        with(:headers => {"Accept" => "application/json"}).
        to_return(File.new(fixture("jfk")))
    end

    subject(:status) do
      Radar.status_for("JFK")
    end

    it "has a IATA code" do
      expect(status.code).to eq("JFK")
    end

    it "has a name" do
      expect(status.name).to eq("<NAME> International")
    end<commit_msg>Break the tests<commit_after>require "webmock/rspec"

require "radar"

RSpec.describe Radar, ".status_for" do
  context "when the airport can be found" do
    before do
      stub_request(:get, "http://services.faa.gov/airport/status/JFK").
        with(:headers => {"Accept" => "application/json"}).
        to_return(File.new(fixture("jfk")))
    end

    subject(:status) do
      Radar.status_for("JFK")
    end

    it "has a IATA code" do
      expect(status.code).to eq("NYC")
    end

    it "has a name" do
      expect(status.name).to eq("<NAME> International")
    end
{'fraction_non_alphanumeric': 0.1453287197231834, 'fraction_numerical': 0.0, 'mean_word_length': 2.922033898305085, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4581812', 'n_tokens_mistral': 404, 'n_tokens_neox': 392, 'n_words': 95}