From 2af9c080799c25a0bb4f6f6b8d2685b6c0e47299 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Mon, 7 Dec 2015 20:36:22 +0100 Subject: Clarify the need to run command twice. We had 2 pull requests erronously trying to remove the first command. Add some comments for clarity. --- railties/test/commands/dev_cache_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/test') 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 -- cgit v1.2.3