aboutsummaryrefslogtreecommitdiff
path: root/test/tc_mauve_sender.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_mauve_sender.rb')
-rw-r--r--test/tc_mauve_sender.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/tc_mauve_sender.rb b/test/tc_mauve_sender.rb
index 7db06c1..3a98c25 100644
--- a/test/tc_mauve_sender.rb
+++ b/test/tc_mauve_sender.rb
@@ -1,3 +1,4 @@
+# encoding: utf-8
$:.unshift "../lib"
require 'th_mauve_resolv'
@@ -9,7 +10,7 @@ require 'locale'
require 'iconv'
-class TcMauveSender < Test::Unit::TestCase
+class TcMauveSender < Test::Unit::TestCase
include Mauve
def setup
@@ -23,7 +24,7 @@ class TcMauveSender < Test::Unit::TestCase
def test_sanitise
Locale.clear
Locale.current = "en_GB.ISO-8859-1"
-
+
#
# Set up a couple of crazy sources.
#
@@ -42,11 +43,11 @@ class TcMauveSender < Test::Unit::TestCase
alert = Mauve::Proto::Alert.new
update.alert << alert
-
+
alert_cleared = Mauve::Proto::Alert.new
update.alert << alert_cleared
alert_cleared.clear_time = Time.now.to_i
-
+
#
# Make sure the update has the correct source
#