mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Enabled to some bundler examples again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2e8b9aba9b
commit
3ac518f9bd
5 changed files with 6 additions and 6 deletions
|
@ -202,7 +202,7 @@ RSpec.describe "bundle binstubs <gem>" do
|
|||
context "when requesting a different bundler version" do
|
||||
before { lockfile lockfile.gsub(Bundler::VERSION, "999.999.999") }
|
||||
|
||||
it "attempts to load that version", :ruby_repo do
|
||||
it "attempts to load that version" do
|
||||
sys_exec bundled_app("bin/rackup").to_s
|
||||
expect(exitstatus).to eq(42) if exitstatus
|
||||
expect(last_command.stderr).to include("Activating bundler (999.999.999) failed:").
|
||||
|
|
|
@ -530,7 +530,7 @@ RSpec.describe "bundle exec" do
|
|||
expect(out).to include("Installing foo 1.0")
|
||||
end
|
||||
|
||||
describe "with gems bundled via :path with invalid gemspecs", :ruby_repo do
|
||||
describe "with gems bundled via :path with invalid gemspecs" do
|
||||
it "outputs the gemspec validation errors" do
|
||||
build_lib "foo"
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ RSpec.describe "install with --deployment or --frozen" do
|
|||
bundle! :install, forgotten_command_line_options(:deployment => true, :without => "test")
|
||||
end
|
||||
|
||||
it "works when you bundle exec bundle", :ruby_repo do
|
||||
it "works when you bundle exec bundle" do
|
||||
bundle :install
|
||||
bundle "install --deployment"
|
||||
bundle! "exec bundle check"
|
||||
|
|
|
@ -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", :ruby_repo do
|
||||
it "should print a proper warning, and use gems.rb" 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", :ruby_repo do
|
||||
it "should print a single deprecation warning" 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."
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
RSpec.describe "require 'bundler/gem_tasks'", :ruby_repo do
|
||||
RSpec.describe "require 'bundler/gem_tasks'" do
|
||||
before :each do
|
||||
bundled_app("foo.gemspec").open("w") do |f|
|
||||
f.write <<-GEMSPEC
|
||||
|
|
Loading…
Add table
Reference in a new issue