From 268934794662dfadaffcf0e0611c1fa7165c1bea Mon Sep 17 00:00:00 2001 From: uu59 Date: Wed, 28 Jan 2015 16:59:02 +0900 Subject: [PATCH] fix typo --- spec/models/fluentd/agent/local_common_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/fluentd/agent/local_common_spec.rb b/spec/models/fluentd/agent/local_common_spec.rb index 8b9db1c..8a46cc2 100644 --- a/spec/models/fluentd/agent/local_common_spec.rb +++ b/spec/models/fluentd/agent/local_common_spec.rb @@ -48,8 +48,8 @@ describe 'Fluentd::Agent::LocalCommon' do before do ::Settings.max_backup_files_count.times do |i| - backpued_time = now - (i + 1).hours - FileUtils.touch File.join(daemon.agent.config_backup_dir , "#{backpued_time.strftime('%Y%m%d_%H%M%S')}.conf") + backuped_time = now - (i + 1).hours + FileUtils.touch File.join(daemon.agent.config_backup_dir , "#{backuped_time.strftime('%Y%m%d_%H%M%S')}.conf") end daemon.agent.config_write config_contents #add before conf