diff options
Diffstat (limited to 'railties/test/generator/app_test.rb')
-rw-r--r-- | railties/test/generator/app_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/generator/app_test.rb b/railties/test/generator/app_test.rb index 431a4bc4f6..5329e27f9b 100644 --- a/railties/test/generator/app_test.rb +++ b/railties/test/generator/app_test.rb @@ -98,9 +98,10 @@ class AppTest < GeneratorTestCase ).each { |path| assert_file "script/#{path}", /#!foo\/bar\/baz/ } end - def test_rails_is_vendorized_if_freeze_is_supplied + def test_rails_is_frozen generator(:freeze => true, :database => "sqlite3").expects(:run).with("rake rails:freeze:edge", false) silence(:stdout){ generator.invoke(:all) } + assert_file 'config/environment.rb', /# RAILS_GEM_VERSION/ end def test_template_raises_an_error_with_invalid_path |