require "test_helper"

class AccountTest < ActiveSupport::TestCase
  include SyncableInterfaceTest, Account::EntriesTestHelper

  setup do
    @account = @syncable = accounts(:depository)
    @family = families(:dylan_family)
  end

  test "can destroy" do
    assert_difference "Account.count", -1 do
      @account.destroy
    end
  end
end
