spec/unit/braintree/validation_error_spec.rb in braintree-2.6.0 vs spec/unit/braintree/validation_error_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::ValidationError do
describe "initialize" do
it "works" do
error = Braintree::ValidationError.new :attribute => "some model attribute", :code => 1, :message => "bad juju"