Removed duplicate date_string method

This commit is contained in:
Christopher 2017-02-24 19:01:08 -08:00
parent 390e68b1ac
commit 5b3b054d0b
7 changed files with 6 additions and 42 deletions

View file

@ -2,7 +2,7 @@ require 'spec_helper'
describe 'conferences/index' do
it 'renders _conference partial for each conference' do
allow(view).to receive(:date_string).and_return('January 17 - 21 2014')
allow(view).to receive(:date_range_string).and_return('January 17 - 21 2014')
assign(:current, [create(:conference), create(:conference)])
render
expect(view).to render_template(partial: '_conference_details', count: 2)