File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -194,9 +194,13 @@ def exec_name
194
194
end
195
195
196
196
test "binstub when spring is uninstalled" do
197
- app . run! "gem uninstall --ignore-dependencies spring"
198
- File . write ( app . gemfile , app . gemfile . read . gsub ( /gem 'spring.*/ , "" ) )
199
- assert_success "bin/rake -T" , stdout : "rake db:migrate"
197
+ begin
198
+ app . run! "gem uninstall --ignore-dependencies spring"
199
+ File . write ( app . gemfile , app . gemfile . read . gsub ( /gem 'spring.*/ , "" ) )
200
+ assert_success "bin/rake -T" , stdout : "rake db:migrate"
201
+ ensure
202
+ generator . build_and_install_gems
203
+ end
200
204
end
201
205
202
206
test "binstub upgrade" do
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def gemfile
48
48
end
49
49
50
50
def gem_home
51
- path "vendor /gems/#{ RUBY_VERSION } "
51
+ path ".. /gems/#{ RUBY_VERSION } "
52
52
end
53
53
54
54
def user_home
You can’t perform that action at this time.
0 commit comments