Merge pull request #156 from substantial/fix_spec_setup

Fix spec setup
This commit is contained in:
Philip Arndt 2011-12-14 18:21:23 -08:00
commit 7c63d8188e
2 changed files with 2 additions and 3 deletions

View file

@ -14,5 +14,6 @@ end
require "refinerycms-testing" require "refinerycms-testing"
Refinery::Testing::Railtie.load_tasks Refinery::Testing::Railtie.load_tasks
Refinery::Testing::Railtie.load_dummy_tasks(ENGINE_PATH)
load File.expand_path('../tasks/rspec.rake', __FILE__) load File.expand_path('../tasks/rspec.rake', __FILE__)

View file

@ -1,6 +1,4 @@
require 'rspec/core/rake_task' require 'rspec/core/rake_task'
desc "Run specs" desc "Run specs"
RSpec::Core::RakeTask.new do |t| RSpec::Core::RakeTask.new
t.pattern = "./spec"
end