spec/unit/braintree/xml_spec.rb in braintree-2.6.0 vs spec/unit/braintree/xml_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 do
describe "self.hash_from_xml" do
it "typecasts integers" do
hash = Braintree::Xml.hash_from_xml("<root><foo type=\"integer\">123</foo></root>")