<commit_before>require File.dirname(__FILE__) + '/../spec_helper'

describe AAAA do
  
  it "should have tests" do
    violated "Write missing specs!"<commit_msg>Skeleton improvements to AAAA spec<commit_after>require File.dirname(__FILE__) + '/../spec_helper'

describe AAAA, "when new" do
  
  before(:each) do
    @aaaa = AAAA.new
  end
  
  it "should be invalid by default" do
    @aaaa.should_not be_valid
  end
  
  it "should only accept IPv6 address as content" do
    violated "Figure this out"
  end
  
  it "should not act as a CNAME" do
    @aaaa.content = 'google.com'
    @aaaa.should have(1).error_on(:content)
{'fraction_non_alphanumeric': 0.10223642172523961, 'fraction_numerical': 0.003194888178913738, 'mean_word_length': 3.3541666666666665, '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': '2066354', 'n_tokens_mistral': 216, 'n_tokens_neox': 206, 'n_words': 67}