spec/dummy/Rakefile in enju_ndl-0.2.3 vs spec/dummy/Rakefile in enju_ndl-0.3.0.beta.1
- old
+ new
@@ -1,7 +1,6 @@
-#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-require File.expand_path('../config/application', __FILE__)
+require_relative 'config/application'
-Dummy::Application.load_tasks
+Rails.application.load_tasks