Sha256: a37d031e98237a50a3b19cc075eff00016afb21c86c72257d76d21915a3abe0c
Contents?: true
Size: 1.22 KB
Versions: 9
Compression:
Stored size: 1.22 KB
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe MynaBird do it_should_convert 'brendan@wistia.com', :to => 'wistia' it_should_convert 'brendan.schwartz@gmail.com', :to => 'brendan-schwartz' it_should_convert 'support@gmail.com', :to => 'support-at-gmail' it_should_convert 'brendan....schwartz@gmail.com', :to => 'brendan-schwartz' it_should_convert 'bts@alumni.brown.edu', :to => 'bts' it_should_convert 'claire@megacorp.co.uk', :to => 'megacorp' it_should_convert 'brendan19@aol.com', :to => 'brendan19' it_should_convert 'brendan.@aol.com', :to => 'brendan' it_should_convert '.brendan@aol.com', :to => 'brendan' it_should_convert 'brendan+nospam@aol.com', :to => 'brendan' it_should_convert 'BRENDAN@aol.com', :to => 'brendan' it_should_convert 'brendan@WISTIA.COM', :to => 'wistia' it_should_convert 'BRENDAN@WISTIA', :to => 'wistia' # bad input it_should_not_convert 'no.at.sign' it_should_not_convert '@domain.only' it_should_not_convert 'local.only@' it_should_not_convert '@@@@' it_should_not_convert '++@++' end
Version data entries
9 entries across 9 versions & 1 rubygems