Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController'

This commit is contained in:
richiethomas 2016-09-14 22:42:04 -04:00
parent 0b6550d060
commit daf1f805bd
71 changed files with 225 additions and 191 deletions

View file

@ -0,0 +1,14 @@
require 'spec_helper'
describe 'admin/conferences/new' do
let(:conference) { build(:conference) }
it 'renders the new template for the conference' do
assign(:conference, Conference.new)
render template: 'admin/conferences/new.html.haml'
expect(rendered).to include('Basic Information')
assign(:conference, conference)
render
expect(rendered).to include(CGI.escapeHTML(conference.title))
end
end