Removed conference_date_string_helper, moved date_string to application_controller
Deleted home_helper.rb
This commit is contained in:
parent
85e9fdc643
commit
c68c6394bc
6 changed files with 34 additions and 40 deletions
|
|
@ -2,6 +2,7 @@ require 'spec_helper'
|
|||
|
||||
describe 'home/index' do
|
||||
it "renders _conference partial for each conference" do
|
||||
allow(view).to receive(:date_string).and_return("January 17 - 21 2014")
|
||||
assign(:current, [create(:conference), create(:conference)])
|
||||
render
|
||||
expect(view).to render_template(:partial => "_conference_details", :count => 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue