aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-10-28 12:32:22 -0700
committerJamie Winsor <jamie@enmasse.com>2011-10-28 13:05:22 -0700
commitbe06f1658db9094e74a7e4d86c6d11231a58a9a4 (patch)
treeeeebd8d0bf365d2ca463fb3c861540613d92ff04
parent3165574730abe9515061e07fbc43433a2e4a50ad (diff)
downloadrefinerycms-blog-be06f1658db9094e74a7e4d86c6d11231a58a9a4.tar.gz
refinerycms-blog-be06f1658db9094e74a7e4d86c6d11231a58a9a4.tar.bz2
refinerycms-blog-be06f1658db9094e74a7e4d86c6d11231a58a9a4.zip
Add rspec rake tasks
-rw-r--r--Rakefile2
-rw-r--r--tasks/rspec.rake6
2 files changed, 8 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 8fb342e..320b14a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -14,3 +14,5 @@ end
require "refinerycms-testing"
Refinery::Testing::Railtie.load_tasks
+
+load File.expand_path('../tasks/rspec.rake', __FILE__)
diff --git a/tasks/rspec.rake b/tasks/rspec.rake
new file mode 100644
index 0000000..a7a9ae0
--- /dev/null
+++ b/tasks/rspec.rake
@@ -0,0 +1,6 @@
+require 'rspec/core/rake_task'
+
+desc "Run specs"
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = "./spec"
+end \ No newline at end of file