spec/auth/effective_permissions_spec.rb in ddr-models-2.11.0 vs spec/auth/effective_permissions_spec.rb in ddr-models-3.0.0.alpha.1

- old
+ new

@@ -1,9 +1,9 @@ module Ddr::Auth RSpec.describe EffectivePermissions do let(:resource) { FactoryGirl.build(:item) } - let(:policy) { Collection.new(pid: "coll:1") } + let(:policy) { Collection.new(pid: "coll-1") } let(:agents) { [ "Editors", "bob@example.com" ] } before do resource.admin_policy = policy resource.roles.grant FactoryGirl.build(:role, :downloader, :public)