Skip to content

Commit

Permalink
テスト名の英語を正しいものに修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Kassy0220 committed Dec 7, 2023
1 parent 81b1ebb commit 54b2e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/models/user_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ class UserTest < ActiveSupport::TestCase
assert_equal User.students_and_trainees, User.users_role('', allowed_targets: allowed_targets, default_target: 'student_and_trainee')
end

test '.users_role return default_target when invalid target is passed' do
test '.users_role returns default_target when invalid target is passed' do
allowed_targets = %w[student_and_trainee mentor graduate adviser trainee year_end_party]
not_allowed_target = 'retired'
assert_equal User.students_and_trainees, User.users_role(not_allowed_target, allowed_targets: allowed_targets, default_target: 'student_and_trainee')
Expand Down

0 comments on commit 54b2e79

Please sign in to comment.