spec/spec_helper.rb in dm-serializer-0.9.9 vs spec/spec_helper.rb in dm-serializer-0.9.10
- old
+ new
@@ -1,9 +1,9 @@
require 'pathname'
require 'rubygems'
-gem 'dm-core', '~>0.9.9'
+gem 'dm-core', '~>0.9.10'
require 'dm-core'
spec_dir_path = Pathname(__FILE__).dirname.expand_path
$LOAD_PATH.unshift(spec_dir_path.parent + 'lib/')
require 'dm-serializer'
@@ -35,8 +35,8 @@
end
require spec_dir_path + 'lib/serialization_method_shared_spec'
# require fixture resources
-Dir[spec_dir_path + "fixtures/*.rb"].each do |fixture_file|
+Dir[(spec_dir_path + "fixtures/*.rb").to_s].each do |fixture_file|
require fixture_file
end