spec/string_spec.rb in quantify-2.0.0 vs spec/string_spec.rb in quantify-2.0.1
- old
+ new
@@ -1,5 +1,7 @@
-$KCODE = 'UTF8'
+# encoding: UTF-8
+$KCODE = 'UTF8' if RUBY_VERSION < "1.9"
+
require 'quantify'
describe String do
describe "applying superscripts" do