From 576b58803635de9d16dd7cd1c2a68b692ba11743 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Fri, 15 May 2015 13:26:50 +0100 Subject: 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. --- spec/support/email_helpers.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/support/email_helpers.rb') diff --git a/spec/support/email_helpers.rb b/spec/support/email_helpers.rb index 252b1f137..8f2abdbfa 100644 --- a/spec/support/email_helpers.rb +++ b/spec/support/email_helpers.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- def load_raw_emails_data raw_emails_yml = File.join(RSpec.configuration.fixture_path, "raw_emails.yml") for raw_email_id in YAML::load_file(raw_emails_yml).map{|k,v| v["id"]} do -- cgit v1.2.3