Fix OAuth authorization page and add a spec for it
This commit is contained in:
parent
1fd2ac774f
commit
7b7bf834e9
6 changed files with 39 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue