summaryrefslogtreecommitdiff
path: root/spec/commands/pristine_spec.rb
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-10-16 20:59:38 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-10-20 20:00:39 +0900
commit2519ba9faf0dda681545fe38c6be7979155007c8 (patch)
tree3229f421e85102366bd64eccb689ca09d582cb2a /spec/commands/pristine_spec.rb
parent5417b218c499db48b23de2bdc38ba2f33d3223c0 (diff)
downloadbundler-2519ba9faf0dda681545fe38c6be7979155007c8.tar.gz
Added ruby_core filtering condition with some examples.
The ruby core repository couldn't invoke its examples.
Diffstat (limited to 'spec/commands/pristine_spec.rb')
-rw-r--r--spec/commands/pristine_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/pristine_spec.rb b/spec/commands/pristine_spec.rb
index de3cb8054b..da6bb1c093 100644
--- a/spec/commands/pristine_spec.rb
+++ b/spec/commands/pristine_spec.rb
@@ -2,7 +2,7 @@
require "bundler/vendored_fileutils"
-RSpec.describe "bundle pristine" do
+RSpec.describe "bundle pristine", :ruby_repo do
before :each do
build_lib "baz", :path => bundled_app do |s|
s.version = "1.0.0"
@@ -42,7 +42,7 @@ RSpec.describe "bundle pristine" do
expect(changes_txt).to_not be_file
end
- it "does not delete the bundler gem" do
+ it "does not delete the bundler gem", :ruby_repo do
ENV["BUNDLER_SPEC_KEEP_DEFAULT_BUNDLER_GEM"] = "true"
system_gems :bundler
bundle! "install"