Add and apply Naming/VariableName rubocop rule

We forgot to use it in one place, and we've found out other institutions
using CONSUL whose developers aren't so familiar with Ruby also break
this rule, so it might be better to add it explicitly.
This commit is contained in:
Javi Martín
2021-08-11 17:18:39 +02:00
parent bbc3c2d7e7
commit 1b19e33e55
2 changed files with 5 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ describe "Targets" do
goal_8_target_10 = SDG::Target["8.10"]
goal_16 = SDG::Goal[16]
goal_16_target_10 = SDG::Target["16.10"]
goal_16_target_A = SDG::Target["16.A"]
goal_16_target_a = SDG::Target["16.A"]
visit sdg_management_targets_path
@@ -29,7 +29,7 @@ describe "Targets" do
expect(goal_8_target_2.title).to appear_before(goal_8_target_10.title)
expect(goal_8_target_10.title).to appear_before(goal_16.title)
expect(goal_16.title).to appear_before(goal_16_target_10.title)
expect(goal_16_target_10.title).to appear_before(goal_16_target_A.title)
expect(goal_16_target_10.title).to appear_before(goal_16_target_a.title)
end
end
end