aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/commands/dev_cache_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/commands/dev_cache_test.rb b/railties/test/commands/dev_cache_test.rb
index f3612070c6..1b7a72e7fc 100644
--- a/railties/test/commands/dev_cache_test.rb
+++ b/railties/test/commands/dev_cache_test.rb
@@ -22,8 +22,8 @@ module CommandsTests
test 'dev:cache deletes file and outputs message' do
Dir.chdir(app_path) do
- output = `rails dev:cache`
- output = `rails dev:cache`
+ `rails dev:cache` # Create caching file.
+ output = `rails dev:cache` # Delete caching file.
assert_not File.exist?('tmp/caching-dev.txt')
assert_match(%r{Development mode is no longer being cached}, output)
end