Javi Martín
9247a31e85
Stub current_user in all component tests
...
The `sign_in(nil)` method was a bit hard to understand IMHO. After all,
in controller and system tests we don't have to specify no user is
signed in; that's the default behavior.
So we're making it the default behavior for component tests as well.
2021-09-08 12:39:36 +02:00
Javi Martín
e97c375063
Add method to stub current_user in component tests
...
We're choosing `sign_in` instead of `login_as` because IMHO component
tests are more similar to controller tests than they are to system
tests.
2021-09-08 12:39:36 +02:00
Javi Martín
4cbf945228
Infer type for component specs automatically
2021-09-08 12:39:36 +02:00
taitus
c6b23bb6fa
Render investments list in all budgets types
...
We make this change to unify the index/show budget pages.
This way both single and multiple budgets will render the investments
list component.
2021-08-09 20:07:51 +02:00
decabeza
b23fe300f5
Add supports info section on budgets index page
2021-06-14 13:48:44 +02:00