1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix the test_framework generator tests

This commit is contained in:
Carl Lerche 2010-01-28 10:03:47 -08:00
parent c7c3eac762
commit 6268fcdc30
3 changed files with 4 additions and 1 deletions

View file

@ -91,6 +91,8 @@ module Rails
def method_missing(method, *args)
method = method.to_s.sub(/=$/, '').to_sym
return @options[method] if args.empty?
if method == :rails
namespace, configuration = :rails, args.shift
elsif args.first.is_a?(Hash)

View file

@ -58,6 +58,7 @@ module Rails
:scaffold_controller => :scaffold_controller,
:singleton => false,
:stylesheets => true,
:test_framework => nil,
:template_engine => :erb
},

View file

@ -9,7 +9,7 @@ Rails.application.config.root = Rails.root
require 'rails/generators'
require 'rails/generators/test_case'
Rails::Generators.configure!
require 'active_record'
require 'action_dispatch'