aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2011-12-14 11:51:46 -0800
committerPete Higgins <pete@peterhiggins.org>2011-12-14 11:51:46 -0800
commit3bef84c3f881b09da9d8450c54653de75a2b7fe6 (patch)
treefd39669191694eceb7a544aa6ffccde5049e2a83
parent3a7a9198a45a6f97866160cd862f44edd72bcba3 (diff)
downloadrefinerycms-blog-3bef84c3f881b09da9d8450c54653de75a2b7fe6.tar.gz
refinerycms-blog-3bef84c3f881b09da9d8450c54653de75a2b7fe6.tar.bz2
refinerycms-blog-3bef84c3f881b09da9d8450c54653de75a2b7fe6.zip
Fix spec setup.
-rw-r--r--Rakefile1
-rw-r--r--tasks/rspec.rake4
2 files changed, 2 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 320b14a..743f388 100644
--- a/Rakefile
+++ b/Rakefile
@@ -14,5 +14,6 @@ end
require "refinerycms-testing"
Refinery::Testing::Railtie.load_tasks
+Refinery::Testing::Railtie.load_dummy_tasks(ENGINE_PATH)
load File.expand_path('../tasks/rspec.rake', __FILE__)
diff --git a/tasks/rspec.rake b/tasks/rspec.rake
index a7a9ae0..2ce7751 100644
--- a/tasks/rspec.rake
+++ b/tasks/rspec.rake
@@ -1,6 +1,4 @@
require 'rspec/core/rake_task'
desc "Run specs"
-RSpec::Core::RakeTask.new do |t|
- t.pattern = "./spec"
-end \ No newline at end of file
+RSpec::Core::RakeTask.new