Permalink
Browse files

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

  • Loading branch information...
1 parent 448dd2a commit 0e458d281f3862ced167ff7109bad3baa617cf8e @ugisozols ugisozols committed Mar 1, 2012
Showing with 1 addition and 10 deletions.
  1. +0 −1 Rakefile
  2. +1 −0 lib/refinery/news.rb
  3. +0 −9 tasks/testing.rake
View
1 Rakefile
@@ -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__)
View
1 lib/refinery/news.rb
@@ -1,4 +1,5 @@
require 'refinerycms-core'
+require 'refinerycms-settings'
module Refinery
autoload :NewsGenerator, 'generators/refinery/news_generator'
View
9 tasks/testing.rake
@@ -1,9 +0,0 @@
-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

0 comments on commit 0e458d2

Please sign in to comment.