aboutsummaryrefslogtreecommitdiffstats
path: root/spec/policies
diff options
context:
space:
mode:
authorAlban Peignier2017-12-20 10:21:03 +0100
committerAlban Peignier2017-12-20 10:21:13 +0100
commit2f4094c28cb5f7b32cf40f231e904dafbac7eafb (patch)
treea2075629cb5eb5cad5cca2cb9d7bd69b091041bf /spec/policies
parente6ab30bc089b9d30a4222df214a70097df651d72 (diff)
downloadchouette-core-2f4094c28cb5f7b32cf40f231e904dafbac7eafb.tar.bz2
Remove archived test in CalendarPolicy specs. Refs #5325
Diffstat (limited to 'spec/policies')
-rw-r--r--spec/policies/calendar_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/calendar_policy_spec.rb b/spec/policies/calendar_policy_spec.rb
index a881d0e80..144a1c6bb 100644
--- a/spec/policies/calendar_policy_spec.rb
+++ b/spec/policies/calendar_policy_spec.rb
@@ -11,7 +11,7 @@ RSpec.describe CalendarPolicy, type: :policy do
it_behaves_like 'permitted policy and same organisation', 'calendars.share'
end
permissions :share? do
- it_behaves_like 'permitted policy and same organisation', 'calendars.share', archived: true
+ it_behaves_like 'permitted policy and same organisation', 'calendars.share'
end
permissions :destroy? do
it_behaves_like 'permitted policy and same organisation', 'calendars.destroy'