Implement consistent admin interface
* Consistent route/model/controller/view layout * Get rid of unused photos, speakers, dietchoices, social_events controllers * Drop unused :public from Rooms and :description from CallForPapers
This commit is contained in:
parent
f6a87331be
commit
28063129c7
133 changed files with 1461 additions and 1461 deletions
13
spec/views/admin/call_for_papers/show.html.haml_spec.rb
Normal file
13
spec/views/admin/call_for_papers/show.html.haml_spec.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'admin/call_for_papers/show' do
|
||||
|
||||
it 'renders call for papers details' do
|
||||
assign :conference, create(:conference)
|
||||
assign :call_for_paper, create(:call_for_paper)
|
||||
render
|
||||
expect(rendered).to include(1.day.ago.strftime('%A, %B %-d. %Y'))
|
||||
expect(rendered).to include(7.days.from_now.strftime('%A, %B %-d. %Y'))
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue