diff options
Diffstat (limited to 'spec/bundler/bundler/plugin/api/source_spec.rb')
-rw-r--r-- | spec/bundler/bundler/plugin/api/source_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/bundler/bundler/plugin/api/source_spec.rb b/spec/bundler/bundler/plugin/api/source_spec.rb index 4dbb993b89..2c50ff56a4 100644 --- a/spec/bundler/bundler/plugin/api/source_spec.rb +++ b/spec/bundler/bundler/plugin/api/source_spec.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -require "spec_helper" RSpec.describe Bundler::Plugin::API::Source do let(:uri) { "uri://to/test" } @@ -37,7 +36,7 @@ RSpec.describe Bundler::Plugin::API::Source do context "install_path" do let(:uri) { "uri://to/a/repository-name" } - let(:hash) { Digest::SHA1.hexdigest(uri) } + let(:hash) { Digest(:SHA1).hexdigest(uri) } let(:install_path) { Pathname.new "/bundler/install/path" } before do |