diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-19 17:08:17 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:29:56 +0900 |
commit | f2cc018adbcd054977e3e7b2410bd289f530684e (patch) | |
tree | b20c2b97f678c0c48ed0acc0d166a9f693ad6d6d /spec/bundler/commands | |
parent | 27717893020d8d3e1bb8e40f30c1c78f4cb23bde (diff) | |
download | ruby-f2cc018adbcd054977e3e7b2410bd289f530684e.tar.gz |
[bundler/bundler] Reuse `execute_bundle_gem` method
https://github.com/bundler/bundler/commit/773203ec5a
Diffstat (limited to 'spec/bundler/commands')
-rw-r--r-- | spec/bundler/commands/newgem_spec.rb | 3 |
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 |