comparison test/lib/legit_client_test.rb @ 260:e2150dce4e90

Rubocop (rails) time
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:59:09 +0900
parents 43cbceac80ab
children
comparison
equal deleted inserted replaced
259:8b75d00c77ba 260:e2150dce4e90
1 require 'test_helper' 1 require "test_helper"
2 2
3 class LegitClientTest < ActiveSupport::TestCase 3 class LegitClientTest < ActiveSupport::TestCase
4 test 'loads timeline' do 4 test "loads timeline" do
5 assert_not_nil LegitClient.timeline('2791517370') 5 assert_not_nil LegitClient.timeline("2791517370")
6 end 6 end
7 7
8 test 'loads user_by_id' do 8 test "loads user_by_id" do
9 assert_not_nil LegitClient.user_by_id('2791517370') 9 assert_not_nil LegitClient.user_by_id("2791517370")
10 end 10 end
11 11
12 test 'loads user_by_username' do 12 test "loads user_by_username" do
13 assert_not_nil LegitClient.user_by_username('edogawa_test') 13 assert_not_nil LegitClient.user_by_username("edogawa_test")
14 end 14 end
15 end 15 end