<commit_before>describe 'Layout' do
  describe 'Page has requisite elements' do
    let(:user) { create :user }

    it 'has the nav links' do
      visit glucose_measurements_url(as: user)
      within 'nav' do
        within(:xpath, '//ul[@id="main-menu"]') do
          expect(page.all('a').map { |link| link.text}).to eq [
            'Glucose',
            'Meds',
            'Carbs',
            'Exercise',
            'Others',
            'HbA1c',
            'Blood Pressure'
          ]
        end
      end
    end
  end
end<commit_msg>Stupid boy<commit_after>describe 'Layout' do
  describe 'Page has requisite elements' do
    let(:user) { create :user }

    it 'has the nav links' do
      visit glucose_measurements_url(as: user)
      within 'nav' do
        within(:xpath, '//ul[@id="main-menu"]') do
          expect(page.all('a').map { |link| link.text}).to eq [
            'Long-term metrics', 
            'All Metrics',
            'Glucose',
            'Meds',
            'Carbs',
            'Exercise',
            'HbA1c',
            'Blood Pressure'
          ]
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.12852112676056338, 'fraction_numerical': 0.0017605633802816902, 'mean_word_length': 1.5899772209567198, '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': '5816518', 'n_tokens_mistral': 367, 'n_tokens_neox': 344, 'n_words': 91}