about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/feed_manager_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/feed_manager_spec.rb b/spec/lib/feed_manager_spec.rb
index 4501e27b7..14553221f 100644
--- a/spec/lib/feed_manager_spec.rb
+++ b/spec/lib/feed_manager_spec.rb
@@ -9,12 +9,12 @@ RSpec.describe FeedManager do
     end
   end
 
-  describe '#filter_status?' do
+  describe '#filter?' do
     let(:followee) { Fabricate(:account, username: 'alice') }
     let(:status)   { Fabricate(:status, text: 'Hello world', account: followee) }
     let(:follower) { Fabricate(:account, username: 'bob') }
 
-    subject { FeedManager.instance.filter_status?(status, follower) }
+    subject { FeedManager.instance.filter?(:home, status, follower) }
 
     it 'returns a boolean value' do
       expect(subject).to be false