Add rubocop spacing rules

We were following these rules in most places; we just didn't define them
anywhere.
This commit is contained in:
Javi Martín
2019-06-22 18:11:23 +02:00
parent c7f64f8493
commit f9ed186909
264 changed files with 652 additions and 577 deletions

View File

@@ -17,7 +17,7 @@ FactoryBot.define do
factory :banner do
sequence(:title) { |n| "Banner title #{n}" }
sequence(:description) { |n| "This is the text of Banner #{n}" }
target_url {["/proposals", "/debates" ].sample}
target_url { ["/proposals", "/debates"].sample }
post_started_at { Time.current - 7.days }
post_ended_at { Time.current + 7.days }
background_color { "#FF0000" }