Extract budget form to a component

This way it will be easier to change it and reuse it.
This commit is contained in:
Javi Martín
2021-06-04 21:58:09 +02:00
parent e9fb95d8d7
commit 82e8de094b
8 changed files with 74 additions and 54 deletions

View File

@@ -1,14 +0,0 @@
require "rails_helper"
describe BudgetsHelper do
describe "#budget_voting_styles_select_options" do
it "provides vote kinds" do
types = [
["Knapsack", "knapsack"],
["Approval", "approval"]
]
expect(budget_voting_styles_select_options).to eq(types)
end
end
end