Mercurial > rsstweet
annotate test/lib/legit_client_test.rb @ 252:151bc6d97d39
Include pinned tweet
author | nanaya <me@nanaya.net> |
---|---|
date | Tue, 17 Oct 2023 00:04:11 +0900 |
parents | 43cbceac80ab |
children |
rev | line source |
---|---|
251 | 1 require 'test_helper' |
2 | |
3 class LegitClientTest < ActiveSupport::TestCase | |
4 test 'loads timeline' do | |
5 assert_not_nil LegitClient.timeline('2791517370') | |
6 end | |
7 | |
8 test 'loads user_by_id' do | |
9 assert_not_nil LegitClient.user_by_id('2791517370') | |
10 end | |
11 | |
12 test 'loads user_by_username' do | |
13 assert_not_nil LegitClient.user_by_username('edogawa_test') | |
14 end | |
15 end |