1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Skip to failing examples on ruby core repository.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2019-04-14 06:03:58 +00:00
parent 59fa123204
commit 2e8b9aba9b
10 changed files with 12 additions and 12 deletions

View file

@ -49,7 +49,7 @@ RSpec.describe Bundler::GemHelper do
end
end
context "gem management" do
context "gem management", :ruby_repo do
def mock_confirm_message(message)
expect(Bundler.ui).to receive(:confirm).with(message)
end

View file

@ -389,7 +389,7 @@ E
end
describe "subcommands" do
it "list" do
it "list", :ruby_repo do
bundle! "config list"
expect(last_command.stdout).to eq "Settings are listed in order of priority. The top value will be used.\nspec_run\nSet via BUNDLE_SPEC_RUN: \"true\""

View file

@ -836,7 +836,7 @@ __FILE__: #{path.to_s.inspect}
bundle :install, :system_bundler => true, :path => "vendor/bundler"
end
it "overrides disable_shared_gems so bundler can be found", :rubygems => ">= 2.6.2" do
it "overrides disable_shared_gems so bundler can be found", :ruby_repo, :rubygems => ">= 2.6.2" do
system_gems :bundler
file = bundled_app("file_that_bundle_execs.rb")
create_file(file, <<-RB)

View file

@ -116,7 +116,7 @@ RSpec.describe "bundle info" do
end
end
context "with a valid regexp for gem name" do
context "with a valid regexp for gem name", :ruby_repo do
it "presents alternatives" do
install_gemfile <<-G
source "file://#{gem_repo1}"

View file

@ -178,7 +178,7 @@ RSpec.describe "bundle gem" do
end
end
it "generates a valid gemspec" do
it "generates a valid gemspec", :ruby_repo do
in_app_root
bundle! "gem newgem --bin"

View file

@ -173,7 +173,7 @@ RSpec.describe "bundle show", :bundler => "< 3" do
end
context "with a valid regexp for gem name" do
it "presents alternatives" do
it "presents alternatives", :ruby_repo do
install_gemfile <<-G
source "file://#{gem_repo1}"
gem "rack"

View file

@ -1247,7 +1247,7 @@ In Gemfile:
expect(out).to eq(installed_time)
end
it "does not reinstall the extension when changing another gem" do
it "does not reinstall the extension when changing another gem", :ruby_repo do
build_git "foo" do |s|
s.add_dependency "rake"
s.extensions << "Rakefile"
@ -1290,7 +1290,7 @@ In Gemfile:
expect(out).to eq(installed_time)
end
it "does reinstall the extension when changing refs" do
it "does reinstall the extension when changing refs", :ruby_repo do
build_git "foo" do |s|
s.add_dependency "rake"
s.extensions << "Rakefile"

View file

@ -240,7 +240,7 @@ RSpec.describe "major deprecations" do
expect(deprecations).to be_empty
end
it "should print a proper warning, and use gems.rb" do
it "should print a proper warning, and use gems.rb", :ruby_repo do
create_file "gems.rb"
install_gemfile! <<-G
source "file://#{gem_repo1}"
@ -340,7 +340,7 @@ RSpec.describe "major deprecations" do
RUBY
end
it "should print a single deprecation warning" do
it "should print a single deprecation warning", :ruby_repo do
expect(warnings).to include(
"Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.rb.locked."
)

View file

@ -55,7 +55,7 @@ RSpec.describe "La biblioteca si misma" do
expect(error_messages.compact).to be_well_formed
end
it "mantiene la calidad de lenguaje de oraciones usadas en el código fuente" do
it "mantiene la calidad de lenguaje de oraciones usadas en el código fuente", :ruby_repo do
error_messages = []
exempt = /vendor/
Dir.chdir(root) do

View file

@ -235,7 +235,7 @@ RSpec.describe "The library itself" do
end
end
it "ships the correct set of files" do
it "ships the correct set of files", :ruby_repo do
Dir.chdir(root) do
git_list = IO.popen("git ls-files -z", &:read).split("\x0").select {|f| f.match(%r{^(lib|exe)/}) }
git_list += %w[CHANGELOG.md LICENSE.md README.md bundler.gemspec]