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

@@ -37,7 +37,7 @@ describe "Valuation budget investments" do
scenario "Disabled with a feature flag" do
Setting["process.budgets"] = nil
expect{
expect {
visit valuation_budget_budget_investments_path(create(:budget))
}.to raise_exception(FeatureFlags::FeatureDisabled)
end
@@ -188,8 +188,8 @@ describe "Valuation budget investments" do
end
scenario "Current filter is properly highlighted" do
filters_links = {"valuating" => "Under valuation",
"valuation_finished" => "Valuation finished"}
filters_links = { "valuating" => "Under valuation",
"valuation_finished" => "Valuation finished" }
visit valuation_budget_budget_investments_path(budget)
@@ -298,7 +298,7 @@ describe "Valuation budget investments" do
logout
login_as create(:valuator).user
expect{
expect {
visit valuation_budget_budget_investment_path(budget, investment)
}.to raise_error "Not Found"
end