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
|
|
@ -1,13 +0,0 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'admin/conference/index' do
|
||||
let(:conference) { create(:conference, title: 'openSUSE Conference 2016') }
|
||||
let(:second_conference) { create(:conference) }
|
||||
|
||||
it 'renders all conference names with links' do
|
||||
assign(:conferences, [conference, second_conference])
|
||||
render
|
||||
expect(rendered).to include('openSUSE Conference 2016')
|
||||
expect(rendered).to include(CGI.escapeHTML(second_conference.title))
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue