You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vayacondios::HttpServer GET /v2/organization/events/topic when some events match with a response body that includes each matching event
Failure/Error: Unable to find matching line from backtrace
expected [{"id"=>"id-2", "time"=>"2014-01-07T17:16:46.659Z", "foo"=>"bar"}, {"id"=>"id-1", "time"=>"2014-01-07T17:16:47.659Z", "foo"=>"bar"}, {"id"=>"id-0", "time"=>"2014-01-07T17:16:48.659Z", "foo"=>"bar"}] to include {"id"=>"id-2", "time"=>"2014-01-07 17:16:46 UTC", "foo"=>"bar"}, {"id"=>"id-1", "time"=>"2014-01-07 17:16:47 UTC", "foo"=>"bar"}, and {"id"=>"id-0", "time"=>"2014-01-07 17:16:48 UTC", "foo"=>"bar"}
Diff:
@@ -1,4 +1,4 @@
-[{"id"=>"id-2", "time"=>"2014-01-07 17:16:46 UTC", "foo"=>"bar"},
@crawlik This does have to do with String formatting; it is a known issue. I am working on a vayacondios refactor at the moment, so I will track this one down. For now, you can move on.
Steps
check out latest vcd-server
switch to stable version
bundle
start mongodb
run
rspec
Failures:
Vayacondios::HttpServer GET /v2/organization/events/topic when some events match with a response body that includes each matching event
Failure/Error: Unable to find matching line from backtrace
expected [{"id"=>"id-2", "time"=>"2014-01-07T17:16:46.659Z", "foo"=>"bar"}, {"id"=>"id-1", "time"=>"2014-01-07T17:16:47.659Z", "foo"=>"bar"}, {"id"=>"id-0", "time"=>"2014-01-07T17:16:48.659Z", "foo"=>"bar"}] to include {"id"=>"id-2", "time"=>"2014-01-07 17:16:46 UTC", "foo"=>"bar"}, {"id"=>"id-1", "time"=>"2014-01-07 17:16:47 UTC", "foo"=>"bar"}, and {"id"=>"id-0", "time"=>"2014-01-07 17:16:48 UTC", "foo"=>"bar"}
Diff:
@@ -1,4 +1,4 @@
-[{"id"=>"id-2", "time"=>"2014-01-07 17:16:46 UTC", "foo"=>"bar"},
+[{"id"=>"id-2", "time"=>"2014-01-07T17:16:46.659Z", "foo"=>"bar"},
./spec/support/request_helper.rb:42:in `block (2 levels) in vcd'
./spec/support/request_helper.rb:28:in`block in vcd'
Finished in 1.61 seconds
427 examples, 1 failure
Wonder if something is misconfigured since test is failing just due to a different timezone format.
The text was updated successfully, but these errors were encountered: