Create view for splash page from existing routes
This commit is contained in:
parent
e11ad83b32
commit
7a5f47257a
8 changed files with 39 additions and 1 deletions
10
spec/views/conference/show.html.haml_spec.rb
Normal file
10
spec/views/conference/show.html.haml_spec.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe "conference/show.html.haml" do
|
||||
it 'renders conference details' do
|
||||
@conference = create(:conference)
|
||||
assign :conference, @conference
|
||||
render
|
||||
expect(render).to include("#{@conference.title}")
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue