<commit_before>require 'spec_helper'

describe Signup do
  pending "add some examples to (or delete) #{__FILE__}"
end<commit_msg>Add a signup model test.<commit_after>require 'spec_helper'

describe Signup do

  it "should handle a normal case" do
    Signup.create!({:email => "<EMAIL>", :contact => "true"})
  end

  it "shouldn't fail if it's not normal" do
    Signup.create!({})
    Signup.create!({:other => 'x'})
    Signup.create!({:email => 5})
    Signup.create!({:contact => true})
  end

end
{'fraction_non_alphanumeric': 0.1550695825049702, 'fraction_numerical': 0.0019880715705765406, 'mean_word_length': 4.195876288659794, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 9, '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': '6244180', 'n_tokens_mistral': 179, 'n_tokens_neox': 170, 'n_words': 51}