Removed crufty testcases that fail. Will rewrite them
[selectricity] / test / unit / voter_notify_test.rb
diff --git a/test/unit/voter_notify_test.rb b/test/unit/voter_notify_test.rb
deleted file mode 100644 (file)
index 6e5f802..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-require File.dirname(__FILE__) + '/../test_helper'
-require 'voter_notify'
-
-class VoterNotifyTest < Test::Unit::TestCase
-  FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures'
-  CHARSET = "utf-8"
-
-  include ActionMailer::Quoting
-
-  def setup
-    ActionMailer::Base.delivery_method = :test
-    ActionMailer::Base.perform_deliveries = true
-    ActionMailer::Base.deliveries = []
-
-    @expected = TMail::Mail.new
-    @expected.set_content_type "text", "plain", { "charset" => CHARSET }
-  end
-
-  private
-    def read_fixture(action)
-      IO.readlines("#{FIXTURES_PATH}/voter_notify/#{action}")
-    end
-
-    def encode(subject)
-      quoted_printable(subject, CHARSET)
-    end
-end

Benjamin Mako Hill || Want to submit a patch?