Some improvements

- Fix issue with lunch flow accounts that were imported
- Remove the period comparison section from reports
This commit is contained in:
sokie
2025-11-11 09:42:59 +01:00
parent 7f5cf4c082
commit 1925b4ce39
7 changed files with 6 additions and 319 deletions

View File

@@ -76,14 +76,6 @@ class ReportsControllerTest < ActionDispatch::IntegrationTest
assert_select "h3", text: I18n.t("reports.summary.net_savings")
end
test "index builds comparison data" do
get reports_path(period_type: :monthly)
assert_response :ok
assert_select "h2", text: I18n.t("reports.comparison.title")
assert_select "h3", text: I18n.t("reports.comparison.income")
assert_select "h3", text: I18n.t("reports.comparison.expenses")
end
test "index builds trends data" do
get reports_path(period_type: :monthly)
assert_response :ok