Sha256: 05dcf4ae66b61471f67d7e2e87c542fc61dfd96f90e6df2725f4ef9685d1bf33
Contents?: true
Size: 433 Bytes
Versions: 12
Compression:
Stored size: 433 Bytes
Contents
require 'spec_helper' describe Heirloom::Utils::Email do before do @object = Object.new @object.extend Heirloom::Utils::Email end it "should return that the account is a valid email " do account = 'good@good.com' @object.valid_email?(account).should be_true end it "should return that the account is a valid email " do account = 'bad@bad' @object.valid_email?(account).should be_false end end
Version data entries
12 entries across 12 versions & 1 rubygems