Issue #13580 has been updated by bjorn2 (Sergey Homa).


on second run 

~~~
 ~/projects/ngrx-todolist   with_jsonapi_suite  clear; rspec spec/api/comments/create_spec.rb

  1) comment#create valid
     Failure/Error: let!(:task)    { create :task, task: task }

     SystemStackError:
       stack level too deep
     # ./spec/api/comments/create_spec.rb:5:in `block (2 levels) in <top (required)>'
     # ./spec/api/comments/create_spec.rb:5:in `block (2 levels) in <top (required)>'
     # ./spec/api/comments/create_spec.rb:5:in `block (2 levels) in <top (required)>'
     # ./spec/api/comments/create_spec.rb:5:in `block (2 levels) in <top (required)>'
     # ./spec/api/comments/create_spec.rb:5:in `block (2 levels) in <top (required)>'
     # ./spec/api/comments/create_spec.rb:5:in `block (2 levels) in <top (required)>'
     # ./spec/api/comments/create_spec.rb:5:in `block (2 levels) in <top (required)>'
     # ./spec/api/comments/create_spec.rb:5:in `block (2 levels) in <top (required)>'
     # ./spec/api/comments/create_spec.rb:5:in `block (2 levels) in <top (required)>'

~~~

----------------------------------------
Bug #13580: bug
https://bugs.ruby-lang.org/issues/13580#change-64945

* Author: bjorn2 (Sergey Homa)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
https://pastebin.com/raw/NJ6QCggq

repository state when bug occurred https://github.com/BjornMelgaard/ngrx-todolist/tree/ecc321e149f45ddb512334a3af845941f922ff5e



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>