summaryrefslogtreecommitdiff
path: root/spec/mixlib/log/formatter_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-08-21 11:37:07 -0700
committerGitHub <noreply@github.com>2020-08-21 11:37:07 -0700
commitad6f224d294adc96d3bb60f66521b6f4ca2d150a (patch)
tree1542e681d887d2cb1b2ad3c193fed98d6280d9a5 /spec/mixlib/log/formatter_spec.rb
parent244c1d477bacdfc1a61ebda418bf70b88c17f2e1 (diff)
parenta5c7bb6f3ac6b423c48bbfc71aa8df709b80253c (diff)
downloadmixlib-log-ad6f224d294adc96d3bb60f66521b6f4ca2d150a.tar.gz
Merge pull request #60 from chef/requires
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/mixlib/log/formatter_spec.rb')
-rw-r--r--spec/mixlib/log/formatter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mixlib/log/formatter_spec.rb b/spec/mixlib/log/formatter_spec.rb
index 16e45af..ee7de09 100644
--- a/spec/mixlib/log/formatter_spec.rb
+++ b/spec/mixlib/log/formatter_spec.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require "time"
+require "time" unless defined?(Time.zone_offset)
require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "spec_helper"))
RSpec.describe Mixlib::Log::Formatter do