aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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