Irene Oppo

Results 2 comments of Irene Oppo

I am guessing that the problem stems from the "diff" library in the dependencies. It has the same unsolved issue with large diffs -> https://github.com/kpdecker/jsdiff/issues/163 I suggest using https://github.com/google/diff-match-patch for...

I solved the problem by creating the factory instead of building it for the specific context. ```ruby context do subject { create(: document_publishing_stage) } it do is_expected.to validate_uniqueness_of(:user_id).scoped_to(:organization_id) end end...