annotate test/lib/legit_client_test.rb @ 262:cd927bb7dc0d
Move out custom application config
author |
nanaya <me@nanaya.net> |
date |
Mon, 16 Dec 2024 01:39:38 +0900 |
parents |
e2150dce4e90 |
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
|