Fix more generator tests.
This commit is contained in:
parent
28146378d3
commit
60547391c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user