aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2013-05-07 12:53:23 +0200
committerArun Agrawal <arunagw@gmail.com>2013-05-07 12:53:23 +0200
commit8407ab10f0547175b1d53dab4add1acd706bdfd5 (patch)
treee08507b2617fdd6e266b03da1806b07199dd3175 /railties
parentf8c4a31e0b35576c49cad16c12ebae270cdb0690 (diff)
downloadrails-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')
-rw-r--r--railties/test/generators/scaffold_generator_test.rb2
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