summaryrefslogtreecommitdiff
path: root/lib/bundler/templates/newgem
diff options
context:
space:
mode:
authorAndre Medeiros <me@andremedeiros.info>2015-05-28 10:24:03 +0200
committerAndre Medeiros <me@andremedeiros.info>2015-05-28 10:24:03 +0200
commitd86663d51d5698c35fa5ad2b875baec271aecbb4 (patch)
tree486f8388a4c521ff2ca56ed1db5aa5e72950abd9 /lib/bundler/templates/newgem
parente68bbd8fed43d87a968c872e44e969a6e2659112 (diff)
downloadbundler-d86663d51d5698c35fa5ad2b875baec271aecbb4.tar.gz
Fix spacing differences on the template.
Diffstat (limited to 'lib/bundler/templates/newgem')
-rw-r--r--lib/bundler/templates/newgem/Rakefile.tt2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/Rakefile.tt b/lib/bundler/templates/newgem/Rakefile.tt
index 26028c6a18..8beb91aee6 100644
--- a/lib/bundler/templates/newgem/Rakefile.tt
+++ b/lib/bundler/templates/newgem/Rakefile.tt
@@ -7,10 +7,12 @@ Rake::TestTask.new(:test) do |t|
t.libs << "lib"
t.test_files = FileList['test/**/*_test.rb']
end
+
<% elsif config[:test] == 'rspec' -%>
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
+
<% end -%>
<% if config[:ext] -%>
require "rake/extensiontask"