summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-19 17:08:17 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:56 +0900
commitf2cc018adbcd054977e3e7b2410bd289f530684e (patch)
treeb20c2b97f678c0c48ed0acc0d166a9f693ad6d6d /spec
parent27717893020d8d3e1bb8e40f30c1c78f4cb23bde (diff)
[bundler/bundler] Reuse `execute_bundle_gem` method
https://github.com/bundler/bundler/commit/773203ec5a
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/commands/newgem_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb
index e6d6794462..a317f13a2e 100644
--- a/spec/bundler/commands/newgem_spec.rb
+++ b/spec/bundler/commands/newgem_spec.rb
@@ -727,8 +727,7 @@ RSpec.describe "bundle gem" do
describe "uncommon gem names" do
it "can deal with two dashes" do
- bundle "gem a--a"
- Bundler.clear_gemspec_cache
+ execute_bundle_gem("a--a")
expect(bundled_app("a--a/a--a.gemspec")).to exist
end