mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Added test to check that the vendor/assets/stylesheets directory is created
This commit is contained in:
@@ -208,6 +208,11 @@ class AppGeneratorTest < Rails::Generators::TestCase
|
||||
assert_file "vendor/assets/javascripts"
|
||||
end
|
||||
|
||||
def test_creation_of_vendor_assets_stylesheets_directory
|
||||
run_generator
|
||||
assert_file "vendor/assets/stylesheets"
|
||||
end
|
||||
|
||||
def test_jquery_is_the_default_javascript_library
|
||||
run_generator
|
||||
assert_file "app/assets/javascripts/application.js" do |contents|
|
||||
|
||||
Reference in New Issue
Block a user