Removed duplicate date_string method
This commit is contained in:
parent
390e68b1ac
commit
5b3b054d0b
7 changed files with 6 additions and 42 deletions
|
|
@ -3,7 +3,7 @@ describe 'conferences/show.html.haml' do
|
|||
let!(:conference) { create(:full_conference) }
|
||||
|
||||
before(:each) 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 :conference, conference
|
||||
render
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue