Removed conference_date_string_helper, moved date_string to application_controller

Deleted home_helper.rb
This commit is contained in:
Gopesh Tulsyan 2014-07-10 21:29:07 +05:30
parent 85e9fdc643
commit c68c6394bc
6 changed files with 34 additions and 40 deletions

View file

@ -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)