summaryrefslogtreecommitdiff
path: root/tasks/test.rake
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2016-03-01 20:55:24 +0100
committerChris Schlaeger <chris@linux.com>2016-03-01 20:55:24 +0100
commit98da4db677e60e34d4e7fd9af93927cb87a21c7a (patch)
tree4dbb53a0d4e450c6a7dc60d6bd74536b5656bc5f /tasks/test.rake
parent2abb612e26112a3ddbafb53537c7b75e4ec0d7c2 (diff)
downloadpostrunner-98da4db677e60e34d4e7fd9af93927cb87a21c7a.zip
Add missing 'tasks' folder.
Diffstat (limited to 'tasks/test.rake')
-rw-r--r--tasks/test.rake7
1 files changed, 7 insertions, 0 deletions
diff --git a/tasks/test.rake b/tasks/test.rake
new file mode 100644
index 0000000..7b94714
--- /dev/null
+++ b/tasks/test.rake
@@ -0,0 +1,7 @@
+require 'rake'
+require 'rspec/core/rake_task'
+
+desc 'Run all RSpec tests in the spec directory'
+RSpec::Core::RakeTask.new(:test) do |t|
+ t.pattern = 'spec/*_spec.rb'
+end