X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=test%2Fmailshears_test.rb;h=675f0b8736b90bc3a0964589932079711509b482;hp=e46ca11ff4d144c8324030ec170efffe5d87ae17;hb=826f82992ce99a35a1b7fc1ac973611371610dd7;hpb=a2d3dd9ee4838fb99557718b4bcdc11c8d1372fd diff --git a/test/mailshears_test.rb b/test/mailshears_test.rb index e46ca11..675f0b8 100644 --- a/test/mailshears_test.rb +++ b/test/mailshears_test.rb @@ -1,9 +1,9 @@ require 'common/configuration' require 'fileutils' -require 'minitest/unit' +require 'minitest/autorun' require 'pg' -class MailshearsTest < MiniTest::Unit::TestCase +class MailshearsTest < MiniTest::Test # This is that class that most (if not all) of our test cases will # inherit. It provides the automatic setup and teardown of the # filesystem and database that the test cases will exercise. @@ -71,15 +71,15 @@ class MailshearsTest < MiniTest::Unit::TestCase # +------------------ +---------+ # # - # +---------------------------------------------------------+ - # | shared | - # +-----+--------------------+----------+-------------------+ - # | sid | user_from | calendar | user_which | - # +-----+--------------------+----------+-------------------+ - # | 1 | adam@example.net | derp | beth@example.net | - # +-----+--------------------+----------+-------------------+ - # | 2 | booger@example.com | derp | carol@example.net | - # +-----+--------------------+----------+-------------------+ + # +---------------------------------------------------------------------------------------------------------------------+ + # | shares | + # +-----+-----------------------------------+---------------------------------------------------+-----------------------+ + # | sid | owner | calendar | with | + # +-----+-----------------------------------+---------------------------------------------------+-----------------------+ + # | 1 | /caldav.php/adam%40example.net/ | /caldav.php/adam%40example.net/calendar-default | /beth%40example.net/ | + # +-----+-----------------------------------+---------------------------------------------------+-----------------------+ + # | 2 | /caldav.php/booger%40example.com/ | /caldav.php/booger%40example.com/calendar-default | /carol%40example.net/ | + # +-----+-----------------------------------+---------------------------------------------------+-----------------------+ # # # 2. davical_test