aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
diff options
context:
space:
mode:
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