diff options
author | The Bundler Bot <bot@bundler.io> | 2016-11-29 21:55:57 +0000 |
---|---|---|
committer | The Bundler Bot <bot@bundler.io> | 2016-11-29 21:55:57 +0000 |
commit | b830e1c4c134f588c5c785eb13dd3db293fa5abc (patch) | |
tree | 39641ab70e0266a3c5bdd2308db63561a376888a /lib | |
parent | ae4f036d9536ae926421a24667ba68149eb13399 (diff) | |
parent | 8ae82609d723001fbd9a286a3e75e1d6292a4eb2 (diff) | |
download | bundler-b830e1c4c134f588c5c785eb13dd3db293fa5abc.tar.gz |
Auto merge of #5199 - gearnode:feature-upgrade-rspec-template, r=indirect
Use new RSpec syntax in spec template
This little pull request, juste for use actual new syntax for begin an spec file.
```ruby
RSpec.describe "MyAwesomeSpec" do
end
```
instead
```ruby
describe "MyOldAwesomeSpec" do
end
```
link: https://github.com/rspec/rspec-rails/commit/ca0d249858903949052e06884e8e7f9d596cdc79
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/templates/newgem/spec/newgem_spec.rb.tt | 2 |
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 |