Skip to content

Commit

Permalink
Fix more generator tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Apr 17, 2011
1 parent 2814637 commit 6054739
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions railties/test/generators/namespaced_generators_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.