spec/lita/handlers/imgflip_memes_spec.rb in lita-imgflip-memes-1.0.1 vs spec/lita/handlers/imgflip_memes_spec.rb in lita-imgflip-memes-1.1.1

- old
+ new

@@ -31,10 +31,10 @@ expect(replies.last).to match(jpeg_url_match) end end describe ':extract_meme_text' do - let(:matchers) { described_class::TEMPLATES } + let(:matchers) { described_class.registered_templates } it 'can properly match no-first-line inputs' do matcher = matchers.select { |t| t.fetch(:template_id) == 101470 }.first pattern = matcher.fetch(:pattern)