Rubocop rules

This commit is contained in:
Nedim
2025-02-17 19:12:40 +01:00
parent ef01db0700
commit ee89170c32
42 changed files with 1043 additions and 267 deletions

View File

@@ -17,7 +17,7 @@ class TeamsControllerTest < ActionDispatch::IntegrationTest
test "should create team" do
assert_difference("Team.count") do
post teams_url, params: { team: { } }
post teams_url, params: { team: {} }
end
assert_redirected_to team_url(Team.last)
@@ -34,7 +34,7 @@ class TeamsControllerTest < ActionDispatch::IntegrationTest
end
test "should update team" do
patch team_url(@team), params: { team: { } }
patch team_url(@team), params: { team: {} }
assert_redirected_to team_url(@team)
end