diff options
author | Yehuda Katz <wycats@gmail.com> | 2011-12-09 21:24:02 -0800 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2011-12-09 21:24:02 -0800 |
commit | 7fc0964133d348d7e2d538453dd30bdd769a1827 (patch) | |
tree | 31281735af7b5050c1aaec3fa1285e8fed2ff1d7 /railties/test/generators | |
parent | 3e5592848ac7fd58608e3f6c42778a2feb53788f (diff) | |
parent | b12a17665abe37ab7ef116fc56519fdadf045dd6 (diff) | |
download | rails-7fc0964133d348d7e2d538453dd30bdd769a1827.tar.gz rails-7fc0964133d348d7e2d538453dd30bdd769a1827.tar.bz2 rails-7fc0964133d348d7e2d538453dd30bdd769a1827.zip |
Merge pull request #3926 from guilleiguaran/skip-assets-group-if-sprockets-skipped
Skip assets groups if --skip-sprockets option is given
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 5 |
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 baa80419a6..0e2990affd 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -206,6 +206,11 @@ class AppGeneratorTest < Rails::Generators::TestCase assert_match(/#\s+require\s+["']sprockets\/railtie["']/, content) assert_no_match(/config\.assets\.enabled = true/, content) end + assert_file "Gemfile" do |content| + assert_no_match(/sass-rails/, content) + assert_no_match(/coffee-rails/, content) + assert_no_match(/uglifier/, content) + end assert_file "test/performance/browsing_test.rb" end |