aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-10-13 01:04:42 -0700
committerJosé Valim <jose.valim@gmail.com>2011-10-13 01:04:42 -0700
commit74fbbf1ea0018042e8709b8ad13c44718da3fdc1 (patch)
tree5d96cc4a06a27d15956b8538dfb607899dec0cdf
parentf6c93495650ac9ff400d59ba91287876088e6d11 (diff)
parentdc3f33eb608c796bc4ce6b403891d6f2efe1f35f (diff)
downloadrails-74fbbf1ea0018042e8709b8ad13c44718da3fdc1.tar.gz
rails-74fbbf1ea0018042e8709b8ad13c44718da3fdc1.tar.bz2
rails-74fbbf1ea0018042e8709b8ad13c44718da3fdc1.zip
Merge pull request #3315 from rahul100885/rahul100885_workspace
Added test to check that the vendor/assets/stylesheets directory is creat
-rw-r--r--railties/test/generators/app_generator_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index f951f4f633..133efb872f 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -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|