aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorTeddy Wing2017-04-29 18:16:22 +0200
committerTeddy Wing2017-04-29 19:15:46 +0200
commit58219f1166a28d590ba38249307ea4361343f96c (patch)
tree4e3b168bb2737b336451c80d9bbe2ab162725e71 /Rakefile
parent11a36c450eb70f31e3c6bd107ee66320d10aed3b (diff)
downloaddbshell-rails-58219f1166a28d590ba38249307ea4361343f96c.tar.bz2
Rakefile: Add TestTask
Make it easier for us to run our specs.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index c702cfc..4dd8368 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1 +1,8 @@
require 'bundler/gem_tasks'
+require 'rake/testtask'
+
+Rake::TestTask.new do |t|
+ t.libs << 'spec'
+ t.test_files = FileList['spec/**/*_spec.rb']
+ t.verbose = true
+end