Merge pull request #3315 from rahul100885/rahul100885_workspace

Added test to check that the vendor/assets/stylesheets directory is creat
This commit is contained in:
José Valim 2011-10-13 01:04:42 -07:00
commit 74fbbf1ea0
1 changed files with 5 additions and 0 deletions

View File

@ -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|