We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e9cbb1 commit 4ef8cb2Copy full SHA for 4ef8cb2
spec/bundler/commands/newgem_spec.rb
@@ -167,7 +167,7 @@ def ignore_paths
167
end
168
it "generates a gem skeleton with bundle install" do
169
gem_skeleton_assertions
170
- expect(Kernel).to receive(:system).with("bundle", "install").once
+ expect(out).to include("Running bundle install in the new gem directory.")
171
172
173
@@ -177,7 +177,7 @@ def ignore_paths
177
178
it "generates a gem skeleton without bundle install" do
179
180
- expect(Kernel).not_to receive(:system).with("bundle", "install")
+ expect(out).to_not include("Running bundle install in the new gem directory.")
181
182
183
0 commit comments