aboutsummaryrefslogtreecommitdiffstats
path: root/spec/cache/git_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/cache/git_spec.rb')
-rw-r--r--spec/cache/git_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/cache/git_spec.rb b/spec/cache/git_spec.rb
index c15ee26c..b256c8d9 100644
--- a/spec/cache/git_spec.rb
+++ b/spec/cache/git_spec.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
require "spec_helper"
-describe "git base name" do
+RSpec.describe "git base name" do
it "base_name should strip private repo uris" do
source = Bundler::Source::Git.new("uri" => "git@github.com:bundler.git")
expect(source.send(:base_name)).to eq("bundler")
@@ -14,7 +14,7 @@ describe "git base name" do
end
%w(cache package).each do |cmd|
- describe "bundle #{cmd} with git" do
+ RSpec.describe "bundle #{cmd} with git" do
it "copies repository to vendor cache and uses it" do
git = build_git "foo"
ref = git.ref_for("master", 11)