Commit f1e2e5ba authored by Alex Kalderimis's avatar Alex Kalderimis

Update spec which refers to DP cache key

parent 4b07bd7a
...@@ -425,9 +425,9 @@ RSpec.describe Ability do ...@@ -425,9 +425,9 @@ RSpec.describe Ability do
expect(keys).to include( expect(keys).to include(
:administrator, :administrator,
'admin', 'admin',
"/dp/condition/BasePolicy/admin/#{user_b.id}" "/dp/condition/BasePolicy/admin/User:#{user_b.id}"
) )
expect(keys).not_to include("/dp/condition/BasePolicy/admin/#{user_a.id}") expect(keys).not_to include("/dp/condition/BasePolicy/admin/User:#{user_a.id}")
end end
# regression spec for re-entrant admin condition checks # regression spec for re-entrant admin condition checks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment