mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00: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
21 lines
485 B
Ruby
21 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
|