summaryrefslogtreecommitdiff
path: root/spec/quality_spec.rb
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2017-05-30 00:01:50 +0000
committerThe Bundler Bot <bot@bundler.io>2017-05-30 00:01:50 +0000
commit58f37e3bf65ca971f24aea51cffea6b250275d1d (patch)
tree25f39820d704ba6f77167c3e4ff360f3690ecb9d /spec/quality_spec.rb
parentc37ede0a2a233eca23f5dfb121260f13eea3541c (diff)
parent9b134993edc2875e457ddb3b5c4f05f09d84e25a (diff)
downloadbundler-58f37e3bf65ca971f24aea51cffea6b250275d1d.tar.gz
Auto merge of #5634 - koic:specify_require_spec_helper_in_dot_rspec, r=indirect
Specify `--require spec_helper` in .rspec Specifying `--require spec_helper` in .rspec will automatically require spec_helper in *_spec.rb. It isn't necessary to specify `require "spec_helper"` in individual *_spec.rb. I think that it's a [DRY](https://en.wikipedia.org/wiki/Don't_repeat_yourself) way. Refer: https://github.com/rspec/rspec/wiki#rspec
Diffstat (limited to 'spec/quality_spec.rb')
-rw-r--r--spec/quality_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb
index 51cdc2a1f7..5f55f123e2 100644
--- a/spec/quality_spec.rb
+++ b/spec/quality_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
if defined?(Encoding) && Encoding.default_external.name != "UTF-8"
# Poor man's ruby -E UTF-8, since it works on 1.8.7