Commit 8b75164
[rubygems/rubygems] Unify specs testing Bundler.setup failing behavior
They had slightly different behavior in Bundler 2 and Bundler 3 because
Bundler 3 will auto-clean after `bundle install`, so one of them system
installed gems won't be present when `Bundler.setup` fails.
We can unify the specs by moving installing system gems to _after_
`bundle install`, so the behavior in both cases is the same. Also, only
this spec actually needs these gems installed, so we can move that from
the `before` block to the body of the spec.
ruby/rubygems@b7251ec9c61 parent ee7ff4a commit 8b75164
1 file changed
+3
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
727 | | - | |
728 | 726 | | |
729 | 727 | | |
730 | 728 | | |
| |||
870 | 868 | | |
871 | 869 | | |
872 | 870 | | |
873 | | - | |
| 871 | + | |
874 | 872 | | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | | - | |
| 873 | + | |
895 | 874 | | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | 875 | | |
906 | 876 | | |
907 | 877 | | |
| |||
915 | 885 | | |
916 | 886 | | |
917 | 887 | | |
| 888 | + | |
918 | 889 | | |
919 | 890 | | |
920 | 891 | | |
| |||
0 commit comments