<commit_before>require 'rails_helper'

describe '/account' do

  describe '/:id/account' do

    it 'should load user account' do
      user = double("User")
      allow(user).to receive(:id).and_return(1)

      expect(get: "/#{user.id}/account").to route_to(
                                                controller: 'accounts',
                                                action: 'edit',
                                                id: "1"
                                            )
    end

  end

end
<commit_msg>Fix: Adjusts test for account route<commit_after>require 'rails_helper'

describe '/account' do

  describe 'user/:id/account' do

    it 'should load user account' do
      user = double("User")
      allow(user).to receive(:id).and_return(1)

      expect(get: "user/#{user.id}/account").to route_to(
                                                controller: 'accounts',
                                                action: 'edit',
                                                id: "1"
                                            )
    end

  end

end

{'fraction_non_alphanumeric': 0.09981684981684982, 'fraction_numerical': 0.003663003663003663, 'mean_word_length': 1.039179104477612, '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': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4526387', 'n_tokens_mistral': 256, 'n_tokens_neox': 244, 'n_words': 65}