spec/dvdprofiler2xbmc_spec.rb in royw-dvdprofiler2xbmc-0.0.8 vs spec/dvdprofiler2xbmc_spec.rb in royw-dvdprofiler2xbmc-0.0.12

- old
+ new

@@ -82,10 +82,11 @@ dvd_hash = dvdprofiler_profile.dvd_hash unless dvd_hash[:genres].include?('Television') count += 1 imdb_profile = ImdbProfile.first(:titles => [dvd_hash[:title], title], :production_years => dvd_hash[:productionyear], - :released_years => dvd_hash[:released]) + :released_years => dvd_hash[:released], + :logger => AppConfig[:logger]) if imdb_profile.blank? buf << "Can not find IMDB ID for #{isbn} #{title}" else AppConfig[:logger].debug "IMDB ID => #{imdb_profile.imdb_id}" end