test/test.rb in smtpapi-0.1.9 vs test/test.rb in smtpapi-0.1.10

- old
+ new

@@ -5,11 +5,11 @@ # # SmtpapiTest implementation # class SmtpapiTest < Test::Unit::TestCase def test_version - assert_equal('0.1.9', Smtpapi::VERSION) + assert_equal('0.1.10', Smtpapi::VERSION) end def test_empty header = Smtpapi::Header.new assert_equal('{}', header.json_string) @@ -249,11 +249,11 @@ def test_issue_template_exists assert(File.file?('./ISSUE_TEMPLATE.md')) end def test_license_exists - assert(File.file?('./LICENSE.md') || File.file?('./LICENSE.txt')) + assert(File.file?('./LICENSE')) end def test_pull_request_template_exists assert(File.file?('./PULL_REQUEST_TEMPLATE.md')) end @@ -273,10 +273,10 @@ # def test_use_cases_exists # assert(File.file?('./USE_CASES.md')) # end def test_license_date_is_updated - license_year = IO.read('LICENSE.md').match( + license_year = IO.read('LICENSE').match( /Copyright \(C\) (\d{4}), Twilio SendGrid/ )[1] current_year = Time.new.year assert_equal(current_year, license_year.to_i)