Skip to content
Browse files

Merge pull request #1110 from enmasse-entertainment/isolate-tasks

Isolate tasks
  • Loading branch information...
2 parents adbf1c1 + e2cad4d commit ef3b99054b87073bf56839e2921111192f455faf @ugisozols ugisozols committed
View
5 Rakefile
@@ -12,8 +12,9 @@ if File.exists?(APP_RAKEFILE)
load 'rails/tasks/engine.rake'
end
-load File.expand_path('../tasks/common.rake', __FILE__)
-load File.expand_path('../tasks/release.rake', __FILE__)
+Dir[File.expand_path('../tasks/**/*', __FILE__)].each do |task|
+ load task
+end
require "refinerycms-testing"
Refinery::Testing::Railtie.load_tasks
View
0 testing/lib/refinery/tasks/rcov.rake → tasks/rcov.rake
File renamed without changes.
View
0 testing/lib/refinery/tasks/rspec.rake → tasks/rspec.rake
File renamed without changes.
View
2 testing/lib/refinery/testing/railtie.rb
@@ -7,9 +7,7 @@ class Railtie < Rails::Railtie
railtie_name :refinerycms_testing
rake_tasks do
- load 'refinery/tasks/rcov.rake'
load 'refinery/tasks/testing.rake'
- load 'refinery/tasks/rspec.rake'
end
config.after_initialize do

0 comments on commit ef3b990

Please sign in to comment.
Something went wrong with that request. Please try again.