Get rid of youtube-title failure
This commit is contained in:
parent
6afba8fb7b
commit
02f745900f
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ describe YoutubeTitles do
|
||||||
mock_http.should_receive(:get).with(@api_path, nil).and_return(
|
mock_http.should_receive(:get).with(@api_path, nil).and_return(
|
||||||
[nil, "Foobar #{@expected_title}</title> hallo welt <asd><dasdd><a>dsd</a>"])
|
[nil, "Foobar #{@expected_title}</title> hallo welt <asd><dasdd><a>dsd</a>"])
|
||||||
|
|
||||||
youtube_title_for(@video_id).should == I18n.t('application.helper.youtube_title.unknown')
|
youtube_title_for(@video_id).should == I18n.t('application.helper.video_title.unknown')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue