spec/response_spec.rb in patron-0.6.0 vs spec/response_spec.rb in patron-0.6.1
- old
+ new
@@ -1,5 +1,8 @@
+# -*- coding: UTF-8 -*-
+# Encoding pragma is needed for loading this test properly on Ruby < 2.0
+
## -------------------------------------------------------------------
##
## Copyright (c) 2009 Phillip Toland <phil.toland@gmail.com>
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -19,9 +22,11 @@
## LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
## OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
## THE SOFTWARE.
##
## -------------------------------------------------------------------
+
+
require File.expand_path("./spec") + '/spec_helper.rb'
require 'webrick'
require 'base64'
require 'fileutils'