comparison test/lib/legit_client_test.rb @ 251:43cbceac80ab

Remove model test and add client test
author nanaya <me@nanaya.net>
date Mon, 17 Jul 2023 20:54:04 +0900
parents
children
comparison
equal deleted inserted replaced
250:be0b78fb5f57 251:43cbceac80ab
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