mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Clean up sync logic (#871)
This commit is contained in:
@@ -25,6 +25,11 @@ class AccountsControllerTest < ActionDispatch::IntegrationTest
|
||||
assert_response :ok
|
||||
end
|
||||
|
||||
test "can sync an account" do
|
||||
post sync_account_path(@account)
|
||||
assert_redirected_to account_url(@account)
|
||||
end
|
||||
|
||||
test "should update account" do
|
||||
patch account_url(@account), params: {
|
||||
account: {
|
||||
|
||||
Reference in New Issue
Block a user