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