From 1354fcfd222a922762999cd6a97dfe5845d4f835 Mon Sep 17 00:00:00 2001 From: mms Date: Wed, 27 Nov 2024 20:50:16 +0100 Subject: gemfile --- spec/lib/message_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'spec/lib/message_spec.rb') diff --git a/spec/lib/message_spec.rb b/spec/lib/message_spec.rb index 8994216..375b611 100644 --- a/spec/lib/message_spec.rb +++ b/spec/lib/message_spec.rb @@ -12,7 +12,7 @@ RSpec.describe Chotto::Message do let(:subject) { Chotto::Message.new(msg: msg, db: db_double) } it 'reads headers' do - expect(msg).to receive(:header).with('A-Header') + expect(msg).to receive(:header).with('a-header') subject.a_header end @@ -53,7 +53,6 @@ RSpec.describe Chotto::Message do it 'fetches messages for thread' do expect(msg).to receive(:thread_id).and_return(thread_id) expect(db_double).to receive(:search_messages).with("thread:#{thread_id}").and_return([msg_in_thread]) - expect(msg_in_thread).to receive(:tags) expect(tester).to receive(:test).with(an_instance_of(Chotto::Message)) -- cgit v1.2.3