mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
introduce organizations
This commit is contained in:
parent
bf54487a19
commit
8edf896d86
21 changed files with 345 additions and 4 deletions
14
spec/controllers/admin/organizations_controller_spec.rb
Normal file
14
spec/controllers/admin/organizations_controller_spec.rb
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Admin::OrganizationsController do
|
||||
let(:admin) { create(:admin) }
|
||||
|
||||
describe 'GET #index' do
|
||||
before :each do
|
||||
sign_in admin
|
||||
get :index
|
||||
end
|
||||
|
||||
it { expect(response).to render_template('index') }
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue