diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-04 06:33:17 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-04 15:37:01 +0100 |
commit | 63f42960ff1377537dc539db9c667d2e0fcf4d7a (patch) | |
tree | 33e05b3ae1496d3759b602f0d31ff175a6228485 /spec/commands | |
parent | e70d0f3d02c8c084b61969e71d1fa28a15a6d0ca (diff) | |
download | bundler-63f42960ff1377537dc539db9c667d2e0fcf4d7a.tar.gz |
Ignore tests needing file permissions on Windowsskip_permission_tests_on_windows
Diffstat (limited to 'spec/commands')
-rw-r--r-- | spec/commands/clean_spec.rb | 2 | ||||
-rw-r--r-- | spec/commands/doctor_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/clean_spec.rb b/spec/commands/clean_spec.rb index 5cc97de912..471ddb0805 100644 --- a/spec/commands/clean_spec.rb +++ b/spec/commands/clean_spec.rb @@ -536,7 +536,7 @@ RSpec.describe "bundle clean" do expect(out).to include("rack (1.0.0)") end - describe "when missing permissions" do + describe "when missing permissions", :permissions do before { ENV["BUNDLE_PATH__SYSTEM"] = "true" } let(:system_cache_path) { system_gem_path("cache") } after do diff --git a/spec/commands/doctor_spec.rb b/spec/commands/doctor_spec.rb index d829f00092..e62430d215 100644 --- a/spec/commands/doctor_spec.rb +++ b/spec/commands/doctor_spec.rb @@ -87,7 +87,7 @@ RSpec.describe "bundle doctor" do expect(@stdout.string).not_to include("No issues") end - context "when home contains files that are not owned by the current process" do + context "when home contains files that are not owned by the current process", :permissions do before(:each) do allow(@stat).to receive(:uid) { 0o0000 } end |