mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-04 04:55:20 +02:00
Test fixes
This commit is contained in:
parent
018310d4d1
commit
2e09d1a8c0
10 changed files with 126 additions and 25 deletions
|
@ -11,8 +11,8 @@ class VehiclesControllerTest < ActionDispatch::IntegrationTest
|
|||
test "creates with vehicle details" do
|
||||
assert_difference -> { Account.count } => 1,
|
||||
-> { Vehicle.count } => 1,
|
||||
-> { Valuation.count } => 2,
|
||||
-> { Entry.count } => 2 do
|
||||
-> { Valuation.count } => 1,
|
||||
-> { Entry.count } => 1 do
|
||||
post vehicles_path, params: {
|
||||
account: {
|
||||
name: "Vehicle",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue