Apply Layout/LineLength rubocop rule
Note we're excluding a few files: * Configuration files that weren't generated by us * Migration files that weren't generated by us * The Gemfile, since it includes an important comment that must be on the same line as the gem declaration * The Budget::Stats class, since the heading statistics are a mess and having shorter lines would require a lot of refactoring
This commit is contained in:
@@ -171,7 +171,10 @@ describe SDG::Relatable do
|
||||
it "assigns goals, targets and local_targets" do
|
||||
relatable.related_sdg_list = "1.1,3,4,4.1,#{another_local_target.code}"
|
||||
|
||||
expect(relatable.reload.sdg_goals).to match_array [SDG::Goal[1], another_local_target.goal, SDG::Goal[3], SDG::Goal[4]]
|
||||
expect(relatable.reload.sdg_goals).to match_array [SDG::Goal[1],
|
||||
another_local_target.goal,
|
||||
SDG::Goal[3],
|
||||
SDG::Goal[4]]
|
||||
expect(relatable.reload.sdg_global_targets).to match_array [SDG::Target[1.1], SDG::Target[4.1]]
|
||||
expect(relatable.reload.sdg_local_targets).to match_array [another_local_target]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user