spec/unit/braintree/base_module_spec.rb in braintree-2.6.0 vs spec/unit/braintree/base_module_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::BaseModule do
describe "return_object_or_raise" do
it "inspects the error_result when inspecting the exception" do
result = Braintree::ErrorResult.new(:gateway, :errors => {})