diff --git a/spec/bundler/multilock_spec.rb b/spec/bundler/multilock_spec.rb index 8ee2dd0..774c4d5 100644 --- a/spec/bundler/multilock_spec.rb +++ b/spec/bundler/multilock_spec.rb @@ -36,7 +36,7 @@ source "https://rubygems.org" - plugin "bundler-multilock", "~> 1.2" + plugin "bundler-multilock", "~> #{Gem::Version.new(Bundler::Multilock::VERSION).segments[0..1].join(".")}" return unless Plugin.installed?("bundler-multilock") Plugin.send(:load_plugin, "bundler-multilock")