summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-03 15:52:01 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-05-03 17:21:45 +0900
commit0928eb10bb1a4eed2b420d4dce3fa34bc90d26c6 (patch)
treed70268b3a84c3e794a7824dcbc4aee4ea2dc4466
parentaf277266db3fac8c0dd52c8bb0bd2ba63ae78131 (diff)
downloadbundler-0928eb10bb1a4eed2b420d4dce3fa34bc90d26c6.tar.gz
Tweak a newgem template for RSpec
-rw-r--r--lib/bundler/templates/newgem/rspec.tt1
-rw-r--r--lib/bundler/templates/newgem/spec/newgem_spec.rb.tt2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/templates/newgem/rspec.tt b/lib/bundler/templates/newgem/rspec.tt
index 8c18f1abdd..34c5164d9b 100644
--- a/lib/bundler/templates/newgem/rspec.tt
+++ b/lib/bundler/templates/newgem/rspec.tt
@@ -1,2 +1,3 @@
--format documentation
--color
+--require spec_helper
diff --git a/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt b/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
index b7ef7f9e4a..c63b487830 100644
--- a/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
+++ b/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
@@ -1,5 +1,3 @@
-require "spec_helper"
-
RSpec.describe <%= config[:constant_name] %> do
it "has a version number" do
expect(<%= config[:constant_name] %>::VERSION).not_to be nil