mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
removed unnecessary comments and fixed grammatical errors
This commit is contained in:
parent
651abcab87
commit
d59a036cf1
5 changed files with 7 additions and 12 deletions
|
|
@ -3,8 +3,7 @@ require 'spec_helper'
|
|||
feature 'Has correct abilities' do
|
||||
|
||||
let(:organization) { create(:organization) }
|
||||
# It is necessary to use bang version of let to build roles before user
|
||||
let(:conference) { create(:full_conference, organization: organization) } # user is organizer
|
||||
let(:conference) { create(:full_conference, organization: organization) }
|
||||
let(:other_conference) { create(:conference, organization: organization) } # user is organizer, venue is not set by default
|
||||
let(:role_organizer_conf) { Role.find_by(name: 'organizer', resource: conference) }
|
||||
let(:role_organizer_other_conf) { Role.find_by(name: 'organizer', resource: other_conference) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue