mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
* Rename account balance field for clarity `original_balance` and `original_currency` may infer that these values are "original" to the account. In reality, they represent the "current" balance and currency on the account. * Prepare fixture data for account sync testing * Update to new field * Fix conflicts * Remove local schema change
20 lines
485 B
Ruby
20 lines
485 B
Ruby
require "application_system_test_case"
|
|
|
|
class AccountsTest < ApplicationSystemTestCase
|
|
setup do
|
|
sign_in @user = users(:family_admin)
|
|
end
|
|
|
|
test "should create account" do
|
|
skip("Disabling this test for now, UI is changing to quickly to do systems testing")
|
|
|
|
click_on "New account"
|
|
click_on "Credit Card"
|
|
within "form" do
|
|
fill_in "Name", with: "VISA"
|
|
fill_in "Balance", with: "1000"
|
|
click_on "Submit"
|
|
end
|
|
assert_text "$1,000"
|
|
end
|
|
end
|