remove warning when running specs

This commit is contained in:
Sarah Mei 2010-11-28 17:15:50 -08:00
parent ec6f42eaf0
commit 5c76062932

View file

@ -18,5 +18,5 @@ module YoutubeTitles
self[:youtube_titles][video_id] = youtube_title_for(video_id)
end
end
YOUTUBE_ID_REGEX = /youtube\.com.*?v=([A-Za-z0-9_\\\-]+)/
YOUTUBE_ID_REGEX = /youtube\.com.*?v=([A-Za-z0-9_\\\-]+)/ unless defined? YOUTUBE_ID_REGEX
end