summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/simulator_spec.rb2
-rw-r--r--tests/spec/spec_helper.rb3
-rw-r--r--tests/spec/validator_spec.rb2
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/spec/simulator_spec.rb b/tests/spec/simulator_spec.rb
index e48df94..396b77a 100644
--- a/tests/spec/simulator_spec.rb
+++ b/tests/spec/simulator_spec.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'spec_helper'
def run_simulate(extra = '')
diff --git a/tests/spec/spec_helper.rb b/tests/spec/spec_helper.rb
index 3fa7f0b..73717b3 100644
--- a/tests/spec/spec_helper.rb
+++ b/tests/spec/spec_helper.rb
@@ -58,6 +58,9 @@ RSpec.configure do |config|
end
end
+Encoding.default_external = Encoding::UTF_8
+Encoding.default_internal = Encoding::UTF_8
+
IFILE_PATH = 'installfile'
def use_fixture(fixture)
diff --git a/tests/spec/validator_spec.rb b/tests/spec/validator_spec.rb
index 2040fe0..282d7ca 100644
--- a/tests/spec/validator_spec.rb
+++ b/tests/spec/validator_spec.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'spec_helper'
def run_validate(extra = '')