test/test_helper.rb in rabl-generators-0.1.0 vs test/test_helper.rb in rabl-generators-0.1.1
- old
+ new
@@ -1,10 +1,11 @@
require 'rubygems'
require 'test/unit'
require 'rails/all'
require 'rails/generators'
require 'rails/generators/test_case'
+require 'rabl/generators'
class TestApp < Rails::Application
config.root = File.dirname(__FILE__)
end
Rails.application = TestApp
@@ -26,7 +27,5 @@
routes = File.expand_path(File.join(File.dirname(__FILE__), 'fixtures', 'routes.rb'))
destination = File.join(Rails.root, "config")
FileUtils.mkdir_p(destination)
FileUtils.cp File.expand_path(routes), destination
end
-
-require 'rails/generators/rails/resource/resource_generator'