aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-09 21:47:09 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-18 13:44:13 +0900
commite6e8d2d8c06336bfcd030a2d8cf69b980446dd40 (patch)
tree50b3450b361ee87920675cda53613a511356ba50 /spec/bundler
parentcc644c7116c7e540809e381be9d16a2f29a45f43 (diff)
downloadruby-e6e8d2d8c06336bfcd030a2d8cf69b980446dd40.tar.gz
[bundler/bundler] Prefer `before` to `before :each`
https://github.com/bundler/bundler/commit/6678747fae
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/commands/open_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/commands/open_spec.rb b/spec/bundler/commands/open_spec.rb
index 6eb6262a2b..795524b827 100644
--- a/spec/bundler/commands/open_spec.rb
+++ b/spec/bundler/commands/open_spec.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
RSpec.describe "bundle open" do
- before :each do
+ before do
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
gem "rails"