lib/yt/audit.rb in yt-audit-0.1.0 vs lib/yt/audit.rb in yt-audit-0.1.1

- old
+ new

@@ -18,9 +18,9 @@ # @param [String] brand name of the video to audit. # @return true if the video title includes brand name. # @raise [Yt::Errors::NoItems] if video_id is not a valid video. def self.has_brand_anchoring?(video_id, brand) video_title = Yt::Video.new(id: video_id).title - video_title.include? brand + video_title.upcase.include? brand.upcase end end end