Skip to content

Commit

Permalink
退会ユーザーが表示されないテストを表示されることを確認するテストに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
kurumadaisuke committed Feb 25, 2024
1 parent 32682e0 commit d7da4ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/models/user_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ class UserTest < ActiveSupport::TestCase
assert Following.find_by(follower_id: kimura.id, followed_id: hatsuno.id)
end

test "don't return retired user data" do
test "return retired user data" do
yameo = users(:yameo)
result = Searcher.search(yameo.name)
assert_not_includes(result, yameo)
assert_includes(result, yameo)
end

test 'return not retired user data' do
Expand Down

0 comments on commit d7da4ee

Please sign in to comment.