summaryrefslogtreecommitdiff
path: root/tasks/test.rake
diff options
context:
space:
mode:
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