Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController'
This commit is contained in:
parent
0b6550d060
commit
daf1f805bd
71 changed files with 225 additions and 191 deletions
13
spec/views/admin/conferences/show.html.haml_spec.rb
Normal file
13
spec/views/admin/conferences/show.html.haml_spec.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'admin/conferences/show' do
|
||||
|
||||
it 'renders conference dashboard' do
|
||||
conference = create(:conference, title: 'openSUSE')
|
||||
assign :conference, conference
|
||||
assign :program, conference.program
|
||||
assign :conference_progress, conference.get_status
|
||||
render template: 'admin/conferences/show.html.haml'
|
||||
expect(rendered).to include("Dashboard for #{conference.title}")
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue