aboutsummaryrefslogtreecommitdiffstats
path: root/lib/strip_attributes/test
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-05-15 13:26:50 +0100
committerLouise Crow <louise.crow@gmail.com>2015-05-15 13:26:50 +0100
commit576b58803635de9d16dd7cd1c2a68b692ba11743 (patch)
treebfddbeaad716b5eeabebb0dc28e11370ba7f89f0 /lib/strip_attributes/test
parent7d9de8a5ffe67e6bc49271a082c1d8e43dbb0f03 (diff)
Add source file encoding for all ruby files.
This is important under ruby 1.9 in order to determine the encoding that will be used for new strings created in the code in the file.
Diffstat (limited to 'lib/strip_attributes/test')
-rw-r--r--lib/strip_attributes/test/strip_attributes_test.rb1
-rw-r--r--lib/strip_attributes/test/test_helper.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/strip_attributes/test/strip_attributes_test.rb b/lib/strip_attributes/test/strip_attributes_test.rb
index 8158dc664..d06ef0671 100644
--- a/lib/strip_attributes/test/strip_attributes_test.rb
+++ b/lib/strip_attributes/test/strip_attributes_test.rb
@@ -1,3 +1,4 @@
+# -*- encoding : utf-8 -*-
require "#{File.dirname(__FILE__)}/test_helper"
module MockAttributes
diff --git a/lib/strip_attributes/test/test_helper.rb b/lib/strip_attributes/test/test_helper.rb
index 7d06c40db..b69440715 100644
--- a/lib/strip_attributes/test/test_helper.rb
+++ b/lib/strip_attributes/test/test_helper.rb
@@ -1,3 +1,4 @@
+# -*- encoding : utf-8 -*-
require 'test/unit'
require 'rubygems'
require 'active_record'