spec/spec_helper.rb in dm-serializer-1.0.0.rc2 vs spec/spec_helper.rb in dm-serializer-1.0.0.rc3
- old
+ new
@@ -3,10 +3,10 @@
require 'dm-validations' # FIXME: must be required before dm-serializer
require 'dm-serializer'
require 'dm-migrations'
-require 'spec/lib/serialization_method_shared_spec'
+require File.expand_path('spec/lib/serialization_method_shared_spec')
# require fixture resources
SPEC_ROOT = Pathname(__FILE__).dirname.expand_path
Pathname.glob((SPEC_ROOT + 'fixtures/**/*.rb').to_s).each { |file| require file }