Skip to content

Commit 71510d4

Browse files
committed
Remove timezone field from time_array in spec
Specifying a timezone in Time#utc in jruby-9.3.4.0 raises a `no implicit conversion of String into Integer` error. AFAICT, this timezone serves no purpose in the running of the test, so this commit removes it
1 parent f6d3a73 commit 71510d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/bson/logstash_timestamp_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require_relative "../spec_helper"
33

44
describe ::LogStash::Timestamp do
5-
let(:time_array) { [1918,11,11,11,0,0, "+00:00"] }
5+
let(:time_array) { [1918,11,11,11,0,0] }
66
let(:a_time) { Time.utc(*time_array) }
77
let(:bson_time) { Time.utc(*time_array).to_bson }
88

0 commit comments

Comments
 (0)