mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
This is a test on --skip-sprockets, not --skip-active-record
(cherry picked from commit 0c79098720e46e2a4a8380703ab9abc7dd0a4121)
This commit is contained in:
@@ -174,7 +174,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
|
||||
assert_file "test/performance/browsing_test.rb"
|
||||
end
|
||||
|
||||
def test_generator_if_skip_active_record_is_given
|
||||
def test_generator_if_skip_sprockets_is_given
|
||||
run_generator [destination_root, "--skip-sprockets"]
|
||||
assert_file "config/application.rb" do |content|
|
||||
assert_match(/#\s+require\s+["']sprockets\/railtie["']/, content)
|
||||
|
||||
Reference in New Issue
Block a user