view test/lib/legit_client_test.rb @ 257:c6a50441a58d

It's now X
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:48:25 +0900
parents 43cbceac80ab
children e2150dce4e90
line wrap: on
line source

require 'test_helper'

class LegitClientTest < ActiveSupport::TestCase
  test 'loads timeline' do
    assert_not_nil LegitClient.timeline('2791517370')
  end

  test 'loads user_by_id' do
    assert_not_nil LegitClient.user_by_id('2791517370')
  end

  test 'loads user_by_username' do
    assert_not_nil LegitClient.user_by_username('edogawa_test')
  end
end