view 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
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