spec/unit/braintree/xml/parser_spec.rb in braintree-2.6.0 vs spec/unit/braintree/xml/parser_spec.rb in braintree-2.6.1
- old
+ new
@@ -1,5 +1,5 @@
-require File.dirname(__FILE__) + "/../../spec_helper"
+require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
describe Braintree::Xml::Parser do
describe "self.hash_from_xml" do
it "typecasts integers" do
xml = "<root><foo type=\"integer\">123</foo></root>"