<commit_before>require 'spec_helper'

describe Meeting do
  %w(meeting_date name municipality).each do |attribute|
    it {should validate_presence_of attribute}
  end
end

describe '.load_from_api_for_jurisdiction' do
  it 'loads meetings into database given a municipality', :vcr do
    Meeting.load_from_apis_for_jurisdiction()
    expect(Meeting.distinct(:name).length).to be >= 27 # distinct meeting names for Philly
  end
end<commit_msg>removed unnecessary () from Meeting spec test<commit_after>require 'spec_helper'

describe Meeting do
  %w(meeting_date name municipality).each do |attribute|
    it {should validate_presence_of attribute}
  end
end

describe '.load_from_api_for_jurisdiction' do
  it 'loads meetings into database given a municipality', :vcr do
    Meeting.load_from_apis_for_jurisdiction
    expect(Meeting.distinct(:name).length).to be >= 27 # distinct meeting names for Philly
  end
end
{'fraction_non_alphanumeric': 0.07423580786026202, 'fraction_numerical': 0.004366812227074236, 'mean_word_length': 5.324137931034483, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4411436', 'n_tokens_mistral': 288, 'n_tokens_neox': 272, 'n_words': 84}