aboutsummaryrefslogtreecommitdiff
path: root/spec/messages_spec.rb
diff options
context:
space:
mode:
authormms <git@sapka.me>2024-11-12 23:36:48 +0100
committermms <git@sapka.me>2024-11-12 23:36:48 +0100
commit6d3ab5f655c83f78905dccede27e5b1da22cc97c (patch)
treea19a544d059e1efe43650672a7842945a361548d /spec/messages_spec.rb
parentc65e4885b999e90732bf37ee954540bae58a4880 (diff)
test: add specs to Mesage class
Diffstat (limited to 'spec/messages_spec.rb')
-rw-r--r--spec/messages_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/messages_spec.rb b/spec/messages_spec.rb
index 6a84bc3..ec43379 100644
--- a/spec/messages_spec.rb
+++ b/spec/messages_spec.rb
@@ -1,10 +1,10 @@
# frozen_string_literal: true
require 'rspec'
-require_relative '../lib/some/messages'
+require_relative '../lib/chotto/messages'
-RSpec.describe Some::Messages do
- let(:subject) { Some::Messages.new }
+RSpec.describe Chotto::Messages do
+ let(:subject) { Chotto::Messages.new(db: double('Notmuch')) }
describe 'direct filters' do
it { expect(subject.filter('from:baltar@battlestar.com').query_string).to eq(' (from:baltar@battlestar.com)') }