Permalink
Browse files

Fix more generator tests.

  • Loading branch information...
1 parent 2814637 commit 60547391c91a1968fa75d673f707a4b50d3d61c4 @josevalim josevalim committed Apr 17, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 railties/test/generators/namespaced_generators_test.rb
@@ -248,7 +248,7 @@ def test_scaffold_on_invoke
assert_file "test/unit/helpers/test_app/product_lines_helper_test.rb"
# Stylesheets
- assert_file "public/stylesheets/scaffold.css"
+ assert_file "app/assets/stylesheets/scaffold.css.scss"
end
def test_scaffold_on_revoke
@@ -279,7 +279,7 @@ def test_scaffold_on_revoke
assert_no_file "test/unit/helpers/test_app/product_lines_helper_test.rb"
# Stylesheets (should not be removed)
- assert_file "public/stylesheets/scaffold.css"
+ assert_file "app/assets/stylesheets/scaffold.css.scss"
end
def test_scaffold_with_namespace_on_invoke
@@ -320,7 +320,7 @@ def test_scaffold_with_namespace_on_invoke
assert_file "test/unit/helpers/test_app/admin/roles_helper_test.rb"
# Stylesheets
- assert_file "public/stylesheets/scaffold.css"
+ assert_file "app/assets/stylesheets/scaffold.css.scss"
end
def test_scaffold_with_namespace_on_revoke
@@ -352,6 +352,6 @@ def test_scaffold_with_namespace_on_revoke
assert_no_file "test/unit/helpers/test_app/admin/roles_helper_test.rb"
# Stylesheets (should not be removed)
- assert_file "public/stylesheets/scaffold.css"
+ assert_file "app/assets/stylesheets/scaffold.css.scss"
end
end

0 comments on commit 6054739

Please sign in to comment.