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
Perhaps a better expectation for this test would be expect(change_set.optimistic_locking_enabled?).to eq change_set.resource.optimistic_locking_enabled? ?
This change set shared spec -- https://github.com/samvera/valkyrie/blob/v2.0.2/lib/valkyrie/specs/shared_specs/change_set.rb#L76-L80 -- assumes that optimistic locking is not enabled on the underlying resource. When the shared spec is used in downstream applications, it will pass or fail depending on whether the resource in the application has optimistic locking enabled or not.
The text was updated successfully, but these errors were encountered: