Skip to content

Commit

Permalink
#153 reproduced
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 20, 2020
1 parent 59a54cf commit 5aeb976
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/test_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,13 @@ def test_seen_unseen
project.unseen!
project.unseen!
end

def test_seen_unseen_by_friend
author = Xia::Authors.new(t_pgsql).named('-test955-first')
p1 = author.projects.submit('github', 'test/hey938533')
p1.seen!
friend = Xia::Authors.new(t_pgsql).named('-test955-second')
p2 = friend.projects.get(p1.id)
p2.seen!
end
end

0 comments on commit 5aeb976

Please sign in to comment.