aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
diff options
context:
space:
mode:
authorMyron Marston <myron.marston@gmail.com>2013-11-10 08:14:57 -0800
committerMyron Marston <myron.marston@gmail.com>2013-11-10 08:14:57 -0800
commit772d10d94a3c3da531be692d87fce05a4a4821cb (patch)
treedee94133aee48fc4915b40252fbc83e907fc5968 /lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
parent7c8c3c6df7cd296844abb2766f42a1d17e61db65 (diff)
downloadbundler-772d10d94a3c3da531be692d87fce05a4a4821cb.tar.gz
Revert "Revert "Update to rspec 2.99""
This reverts commit 1d8debe29d2352c57d80afafd4fec066b1a6b8ef.
Diffstat (limited to 'lib/bundler/templates/newgem/spec/newgem_spec.rb.tt')
-rw-r--r--lib/bundler/templates/newgem/spec/newgem_spec.rb.tt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt b/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
index ad324daa..f8ef6e8c 100644
--- a/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
+++ b/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
@@ -2,10 +2,10 @@ require 'spec_helper'
describe <%= config[:constant_name] %> do
it 'should have a version number' do
- <%= config[:constant_name] %>::VERSION.should_not be_nil
+ expect(<%= config[:constant_name] %>::VERSION).not_to be nil
end
it 'should do something useful' do
- false.should be_true
+ expect(false).to be true
end
end