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
it '', versioning: true do
guide.update!({ title: '1', steps_attributes: [ { description: 'a' } ] })
p guide.versions[2].reify(has_many: true).steps.map(&:description)
end
In console same code predictably prints ['a'], in rspec [].
Same happens with:
require 'paper_trail/frameworks/rspec' not used
running it with spring rspec
disabling DatabaseCleaner
It does work outside the it block in test environment.
The text was updated successfully, but these errors were encountered:
(PaperTrail 5.1.1)
I'm having troubles with
In console same code predictably prints
['a']
, in rspec[]
.Same happens with:
require 'paper_trail/frameworks/rspec'
not usedspring rspec
It does work outside the
it
block in test environment.The text was updated successfully, but these errors were encountered: