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