Commit a72eec36 authored by Uģis Ozols's avatar Uģis Ozols
Browse files

Don't need testing task if we require refinery-settings.

parent 8f3e612a
......@@ -17,4 +17,3 @@ 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/testing.rake', __FILE__)
require 'refinerycms-core'
require 'refinerycms-settings'
module Refinery
autoload :NewsGenerator, 'generators/refinery/news_generator'
......
namespace :refinery do
namespace :testing do
task :setup_extension do
task = "bundle exec rake -f #{Refinery::Testing::Railtie.target_engine_path.join('Rakefile')} "
task << "app:railties:install:migrations FROM='refinery_settings'"
system task
end
end
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment