aboutsummaryrefslogtreecommitdiffstats
path: root/spec/install/gemfile/gemspec_spec.rb
diff options
context:
space:
mode:
authorMike Virata-Stone <mjstone@on-site.com>2015-12-15 18:54:54 -0800
committerMike Virata-Stone <mjstone@on-site.com>2015-12-15 20:28:35 -0800
commit68945466b0c4d2ed5ae99e8c1fd2f7c558f575b1 (patch)
tree31d4f7318e5be7de5cf892a0c080082b92c109b9 /spec/install/gemfile/gemspec_spec.rb
parent2f472e471d7c339f4164b6e51762614367fbd89a (diff)
downloadbundler-68945466b0c4d2ed5ae99e8c1fd2f7c558f575b1.tar.gz
Nix the gem_helpers method in `Bundler::Dsl`
New generic_local_platform to remove all the `generic(Gem::Platform.local)` calls Make `generic` and `generic_local_platform` module functions Thanks to @segiddins for the idea!
Diffstat (limited to 'spec/install/gemfile/gemspec_spec.rb')
-rw-r--r--spec/install/gemfile/gemspec_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gemfile/gemspec_spec.rb b/spec/install/gemfile/gemspec_spec.rb
index 16667dd2..7b38dfb9 100644
--- a/spec/install/gemfile/gemspec_spec.rb
+++ b/spec/install/gemfile/gemspec_spec.rb
@@ -197,7 +197,7 @@ describe "bundle install from an existing gemspec" do
rack (1.0.0)
PLATFORMS
- #{generic(Gem::Platform.local)}
+ #{generic_local_platform}
DEPENDENCIES
foo!