about summary refs log tree commit diff
path: root/spec/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-18 23:08:52 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-18 23:10:44 +0100
commit7b7bf834e9f8616440259fcee518fa11adf3e457 (patch)
treee5a5d88f26c162606b4624bd78d644096cf6399a /spec/services
parent1fd2ac774f77dbca25a1bf82279e2eafa8a3d83b (diff)
Fix OAuth authorization page and add a spec for it
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/fan_out_on_write_service_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/fan_out_on_write_service_spec.rb b/spec/services/fan_out_on_write_service_spec.rb
index 36bfcda16..e46a31c24 100644
--- a/spec/services/fan_out_on_write_service_spec.rb
+++ b/spec/services/fan_out_on_write_service_spec.rb
@@ -19,15 +19,15 @@ RSpec.describe FanOutOnWriteService do
   end
 
   it 'delivers status to home timeline' do
-    expect(Feed.new(:home, author).get(1).map(&:id)).to include status.id
+    expect(Feed.new(:home, author).get(10).map(&:id)).to include status.id
   end
 
   it 'delivers status to local followers' do
-    expect(Feed.new(:home, follower).get(1).map(&:id)).to include status.id
+    expect(Feed.new(:home, follower).get(10).map(&:id)).to include status.id
   end
 
   it 'delivers status to mentioned users' do
-    expect(Feed.new(:mentions, alice).get(1).map(&:id)).to include status.id
+    expect(Feed.new(:mentions, alice).get(10).map(&:id)).to include status.id
   end
 
   it 'delivers status to hashtag' do