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