<commit_before>require "spec_helper"
include Rails.application.routes.url_helpers

describe "Attendee#next_page" do
  subject { Factory :attendee }
  let(:event) { Factory :event }
  let(:events_of_interest) { [event.id] }

  context "after finishing the basics page" do
    it "returns the path to the events page" do
      subject.next_page(:basics, nil, nil).should ==
        edit_attendee_path(subject.year, subject, :events)
    end
  end

  context "after finishing the events page" do
    context "given an age-appropriate non-empty plan category" do<commit_msg>apparently, includes go inside the describe block<commit_after>require "spec_helper"

describe "Attendee#next_page" do
  include Rails.application.routes.url_helpers

  subject { Factory :attendee }
  let(:event) { Factory :event }
  let(:events_of_interest) { [event.id] }

  context "after finishing the basics page" do
    it "returns the path to the events page" do
      subject.next_page(:basics, nil, nil).should ==
        edit_attendee_path(subject.year, subject, :events)
    end
  end

  context "after finishing the events page" do
    context "given an age-appropriate non-empty plan category" do
{'fraction_non_alphanumeric': 0.090754877014419, 'fraction_numerical': 0.0, 'mean_word_length': 4.130434782608695, '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': '7376588', 'n_tokens_mistral': 363, 'n_tokens_neox': 351, 'n_words': 113}