test/encoding_test.rb in bencode-0.8.0 vs test/encoding_test.rb in bencode-0.8.1
- old
+ new
@@ -1,8 +1,8 @@
+# encoding: utf-8
require 'environment'
-class EncodingTest < MiniTest::Unit::TestCase
- context "The BEncode encoder" do
- should_encode "i42e", 42
- should_encode "3:foo", "foo"
- end
+describe "encoding" do
+ it_should_encode "i42e", 42
+ it_should_encode "3:foo", "foo"
+ it_should_encode "5:café", "café"
end