test/test_email.rb in messenger-0.1.1 vs test/test_email.rb in messenger-0.2.0

- old
+ new

@@ -1,6 +1,6 @@ -require "#{File.dirname(__FILE__)}/test_helper" +require "test_helper" require 'mail' module Messenger class EmailTest < Test::Unit::TestCase @@ -44,10 +44,9 @@ end should "return false for bad URLs" do assert_equal false, Email.valid_url?("mailto:") assert_equal false, Email.valid_url?("mailto:test") - assert_equal false, Email.valid_url?("mailto:@example.com") assert_equal false, Email.valid_url?("mailto:example.com") end end end