Thanks to visit codestin.com Credit goes to github.com
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 ab9b8c2 commit 91d7abeCopy full SHA for 91d7abe
bundler/spec/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