If I remember the ruling correctly, the spell should be discarded immediately after being Assimilated, since you don’t have the right hero to keep it ongoing.
Edit: yeah, the example is with Two Step, but it works the same: Codex Card Database | Assimilate