aboutsummaryrefslogtreecommitdiff
path: root/spec/messages_spec.rb
diff options
context:
space:
mode:
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)') }