diff options
author | Arun Agrawal <arunagw@gmail.com> | 2013-05-07 12:53:23 +0200 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2013-05-07 12:53:23 +0200 |
commit | 8407ab10f0547175b1d53dab4add1acd706bdfd5 (patch) | |
tree | e08507b2617fdd6e266b03da1806b07199dd3175 /railties/test/generators/scaffold_generator_test.rb | |
parent | f8c4a31e0b35576c49cad16c12ebae270cdb0690 (diff) | |
download | rails-8407ab10f0547175b1d53dab4add1acd706bdfd5.tar.gz rails-8407ab10f0547175b1d53dab4add1acd706bdfd5.tar.bz2 rails-8407ab10f0547175b1d53dab4add1acd706bdfd5.zip |
Build fix for scaffold generator
3-2 behaves different when scaffolding.
Diffstat (limited to 'railties/test/generators/scaffold_generator_test.rb')
-rw-r--r-- | railties/test/generators/scaffold_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/scaffold_generator_test.rb b/railties/test/generators/scaffold_generator_test.rb index 72fca0c99a..86f0962ac2 100644 --- a/railties/test/generators/scaffold_generator_test.rb +++ b/railties/test/generators/scaffold_generator_test.rb @@ -278,7 +278,7 @@ class ScaffoldGeneratorTest < Rails::Generators::TestCase def test_scaffold_generator_no_assets_with_switch_assets_false run_generator [ "posts", "--assets=false" ] - assert_no_file "app/assets/stylesheets/scaffold.css" + assert_file "app/assets/stylesheets/scaffold.css" assert_no_file "app/assets/javascripts/posts.js" assert_no_file "app/assets/stylesheets/posts.css" end |