Drop Organization abilities

This commit is contained in:
Henne Vogelsang 2024-06-07 16:13:28 +02:00
parent b9a50ef20d
commit dc1a6a4363
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
3 changed files with 4 additions and 23 deletions

View file

@ -11,8 +11,7 @@ describe 'User' do
subject(:ability){ Ability.new(user) }
let(:user){ nil }
let!(:organization) { create(:organization) }
let!(:my_conference) { create(:full_conference, organization: organization) }
let!(:my_conference) { create(:full_conference) }
let(:my_room) { create(:room, venue: my_conference.venue) }
@ -36,7 +35,6 @@ describe 'User' do
# Test abilities for not signed in users
context 'when user is not signed in' do
it{ should be_able_to(:index, Organization)}
it{ should be_able_to(:index, Conference)}
it{ should be_able_to(:show, conference_public)}