mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Added test to check that the vendor/assets/stylesheets directory is created
This commit is contained in:
parent
f6c9349565
commit
dc3f33eb60
1 changed files with 5 additions and 0 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue