summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGearnode <bfrimin@student.42.fr>2016-11-22 16:46:12 +0100
committerGearnode <bfrimin@student.42.fr>2016-11-22 16:46:12 +0100
commit8ae82609d723001fbd9a286a3e75e1d6292a4eb2 (patch)
treecdc55d47c1c8c2b93800de87daadf6c64fa853bc
parent5ee2d70284a384fc973ebb57d2fc02c890cd29da (diff)
downloadbundler-8ae82609d723001fbd9a286a3e75e1d6292a4eb2.tar.gz
Use new syntax for start spec file with RSpec
-rw-r--r--lib/bundler/templates/newgem/spec/newgem_spec.rb.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt b/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
index b33d65188a..b7ef7f9e4a 100644
--- a/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
+++ b/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
@@ -1,6 +1,6 @@
require "spec_helper"
-describe <%= config[:constant_name] %> do
+RSpec.describe <%= config[:constant_name] %> do
it "has a version number" do
expect(<%= config[:constant_name] %>::VERSION).not_to be nil
end