Sponsor dashboard added, with sponsor component for splash page
This commit is contained in:
parent
643b8b173a
commit
ea119a8158
36 changed files with 549 additions and 12 deletions
|
|
@ -1,10 +1,12 @@
|
|||
require 'spec_helper'
|
||||
describe 'conference/show.html.haml' do
|
||||
it 'renders conference details' do
|
||||
@conference = create(:conference)
|
||||
@sponsorship_registration = create(:sponsorship_registration)
|
||||
@conference = @sponsorship_registration.conference
|
||||
assign :conference, @conference
|
||||
render
|
||||
expect(render).to include("#{@conference.title}")
|
||||
expect(view).to render_template(:partial => "conference/_sponsor")
|
||||
expect(rendered).to include("#{@sponsorship_registration.sponsorship_level.title}")
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue