Skip to content

Commit 6fe6e71

Browse files
committed
1 parent 53ce196 commit 6fe6e71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

railties/lib/rails/dev_caching.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def enable_by_file
1515
puts "Action Controller caching disabled for development mode."
1616
else
1717
create_cache_file
18-
puts "Action Controller caching enabled for development mode"
18+
puts "Action Controller caching enabled for development mode."
1919
end
2020

2121
FileUtils.touch "tmp/restart.txt"

railties/test/commands/dev_test.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Rails::Command::DevTest < ActiveSupport::TestCase
1313
assert_not File.exist?("tmp/restart.txt")
1414

1515
assert_equal <<~OUTPUT, run_dev_cache_command
16-
Development mode is now being cached.
16+
Action Controller caching enabled for development mode.
1717
OUTPUT
1818

1919
assert File.exist?("tmp/caching-dev.txt")
@@ -30,7 +30,7 @@ class Rails::Command::DevTest < ActiveSupport::TestCase
3030
restart_file_time_before = File.mtime("tmp/restart.txt")
3131

3232
assert_equal <<~OUTPUT, run_dev_cache_command
33-
Development mode is now being cached.
33+
Action Controller caching enabled for development mode.
3434
OUTPUT
3535

3636
assert File.exist?("tmp/caching-dev.txt")
@@ -49,7 +49,7 @@ class Rails::Command::DevTest < ActiveSupport::TestCase
4949
restart_file_time_before = File.mtime("tmp/restart.txt")
5050

5151
assert_equal <<~OUTPUT, run_dev_cache_command
52-
Development mode is no longer being cached.
52+
Action Controller caching disabled for development mode.
5353
OUTPUT
5454

5555
assert_not File.exist?("tmp/caching-dev.txt")

0 commit comments

Comments
 (0)