aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/generators_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-10-15 17:36:54 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-10-15 17:36:54 -0700
commit71f7e75d95c47e4283a7cac0a2f776abf0a11d0e (patch)
tree75a9b6825f9f81a9bec372af8db097b6ea022fc6 /railties/test/application/generators_test.rb
parent2d7abe245e7a2b1717e48ef550e4083318fd7ec2 (diff)
parentef70ad5538c4ce02c4d31ef01a8db6b55c837571 (diff)
downloadrails-71f7e75d95c47e4283a7cac0a2f776abf0a11d0e.tar.gz
rails-71f7e75d95c47e4283a7cac0a2f776abf0a11d0e.tar.bz2
rails-71f7e75d95c47e4283a7cac0a2f776abf0a11d0e.zip
Merge branch 'master' into orchestra
Diffstat (limited to 'railties/test/application/generators_test.rb')
-rw-r--r--railties/test/application/generators_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/test/application/generators_test.rb b/railties/test/application/generators_test.rb
index 0edb29483d..c664b61137 100644
--- a/railties/test/application/generators_test.rb
+++ b/railties/test/application/generators_test.rb
@@ -41,6 +41,8 @@ module ApplicationTests
c.generators.orm :datamapper
c.generators.test_framework :rspec
end
+ # Initialize the application
+ Rails.application.new
assert_equal :rspec, Rails::Generators.options[:rails][:test_framework]
assert_equal "-w", Rails::Generators.aliases[:rails][:test_framework]
@@ -50,6 +52,8 @@ module ApplicationTests
Rails::Initializer.run do |c|
c.generators.colorize_logging = false
end
+ # Initialize the application
+ Rails.application.new
assert_equal Thor::Base.shell, Thor::Shell::Basic
end