Marked the some examples that are not working with the ruby repository

This commit is contained in:
Hiroshi SHIBATA 2020-05-11 22:11:40 +09:00
parent aecbb78517
commit f61dbb921e
Notes: git 2020-05-13 07:55:12 +09:00

View File

@ -39,7 +39,7 @@ RSpec.describe "Bundler.with_env helpers" do
end
end
it "works with nested bundle exec invocations" do
it "works with nested bundle exec invocations", :ruby_repo do
create_file("exe.rb", <<-'RUBY')
count = ARGV.first.to_i
exit if count < 0
@ -202,7 +202,7 @@ RSpec.describe "Bundler.with_env helpers" do
RUBY
end
it "runs system inside with_clean_env" do
it "runs system inside with_clean_env", :ruby_repo do
run_bundler_script({ "BUNDLE_FOO" => "bar" }, bundled_app("source.rb"))
expect($?.exitstatus).to eq(42)
end
@ -217,7 +217,7 @@ RSpec.describe "Bundler.with_env helpers" do
RUBY
end
it "runs system inside with_unbundled_env" do
it "runs system inside with_unbundled_env", :ruby_repo do
run_bundler_script({ "BUNDLE_FOO" => "bar" }, bundled_app("source.rb"))
expect($?.exitstatus).to eq(42)
end