diff options
| author | Alban Peignier | 2017-12-20 10:21:03 +0100 |
|---|---|---|
| committer | Alban Peignier | 2017-12-20 10:21:13 +0100 |
| commit | 2f4094c28cb5f7b32cf40f231e904dafbac7eafb (patch) | |
| tree | a2075629cb5eb5cad5cca2cb9d7bd69b091041bf /spec/policies | |
| parent | e6ab30bc089b9d30a4222df214a70097df651d72 (diff) | |
| download | chouette-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.rb | 2 |
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' |
