Mercurial > rsstweet
annotate test/lib/legit_client_test.rb @ 260:e2150dce4e90
Rubocop (rails) time
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 15 Dec 2024 22:59:09 +0900 |
parents | 43cbceac80ab |
children |
rev | line source |
---|---|
260 | 1 require "test_helper" |
251 | 2 |
3 class LegitClientTest < ActiveSupport::TestCase | |
260 | 4 test "loads timeline" do |
5 assert_not_nil LegitClient.timeline("2791517370") | |
251 | 6 end |
7 | |
260 | 8 test "loads user_by_id" do |
9 assert_not_nil LegitClient.user_by_id("2791517370") | |
251 | 10 end |
11 | |
260 | 12 test "loads user_by_username" do |
13 assert_not_nil LegitClient.user_by_username("edogawa_test") | |
251 | 14 end |
15 end |