Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race condition in ActionController::Serialization::ImplicitSerializerTest#test_render_fragment_changed_object_with_relationship #961

Closed
bf4 opened this issue Jun 21, 2015 · 1 comment

Comments

@bf4
Copy link
Member

bf4 commented Jun 21, 2015

Should be an easy fix if anyone wants to pick it up.

ref: https://travis-ci.org/rails-api/active_model_serializers/jobs/67701995

rails-api/active_model_serializers/test/action_controller/serialization_test.rb:300]:
--- expected
+++ actual
@@ -1 +1 @@
-{"id"=>1, "time"=>"2015-06-21T04:45:29+00:00", "post"=>{"id"=>1, "title"=>"New Post", "body"=>"Body"}}
+{"id"=>1, "time"=>"2015-06-21T04:45:28+00:00", "post"=>{"id"=>1, "title"=>"New Post", "body"=>"Body"}}
@kurko
Copy link
Member

kurko commented Jun 25, 2015

Yeah. We can use Timecop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants