spec/spec_helper.rb in dm-is-state_machine-0.9.5 vs spec/spec_helper.rb in dm-is-state_machine-0.9.6
- old
+ new
@@ -8,10 +8,10 @@
return false if ENV['ADAPTER'] != name.to_s
lib = "do_#{name}"
begin
- gem lib, '=0.9.5'
+ gem lib, '>=0.9.5'
require lib
DataMapper.setup(name, ENV["#{name.to_s.upcase}_SPEC_URI"] || default_uri)
DataMapper::Repository.adapters[:default] = DataMapper::Repository.adapters[name]
true
rescue Gem::LoadError => e