Sha256: a8ac2b9058a6127434695e57f9beb50f3bd4cc4dc2ca6da31217b3460fd66e25
Contents?: true
Size: 300 Bytes
Versions: 1
Compression:
Stored size: 300 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "regexhelper_email" do it "should return a regex string testing for email address formatting" do email_regex = REGEXHELPER.email_regex email_regex.inspect.should == '/^\\w+@[a-zA-Z_]+?\\.[a-zA-Z]{2,3}$/' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
regexhelper-0.1.0 | spec/regexhelper_email_spec.rb |