From ab72a4d50d33719b90695c01f9f2b8a87fb14ee6 Mon Sep 17 00:00:00 2001 From: naokinaokiboo Date: Mon, 22 Jan 2024 16:10:19 +0900 Subject: [PATCH] =?UTF-8?q?rubocop=E3=81=AE=20Minitest/RefuteFalse=20?= =?UTF-8?q?=E3=81=AB=E9=96=A2=E3=81=99=E3=82=8B=E6=8C=87=E6=91=98=E3=81=AB?= =?UTF-8?q?=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/models/discord/times_channel_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/models/discord/times_channel_test.rb b/test/models/discord/times_channel_test.rb index cedaa68200d..735e156d5c8 100644 --- a/test/models/discord/times_channel_test.rb +++ b/test/models/discord/times_channel_test.rb @@ -40,7 +40,7 @@ class TimesChannelTest < ActiveSupport::TestCase Discord::Server.stub(:create_text_channel, ->(*) { nil }) do times_channel = Discord::TimesChannel.new('piyo') - assert_equal false, times_channel.save + assert_not times_channel.save assert_nil times_channel.id assert_nil times_channel.category_id end