In extremely general terms, it can said that behaviourism was a response to the Cartesian (or, even more widely, Western) philosophical tradition in which behaviour, actions, or what is done by persons was seen as the outward expression of what goes on in the mind. Thus, in that sense, many of those who were initially involved in artificial intelligence (AI) were following in behaviourism's footsteps in that they believed that if a computer (or robot) behaved as if it had intelligence (or had a mind), then, almost by definition, it must be intelligent (or have a mind).
If a computer acts (or behaves) as if it's intelligent (or has a mind, then it is intelligent or has a mind.
In other words, even though I've just written the words “as if”, there's no actual as if about it.
I just mentioned that the display of intelligence (or mind) is deemed to be intelligence (or mind). And computers certainly display intelligence. For example, computers can solve problems, play games (e.g., chess), prove mathematical theorems, diagnose medical problems, use language and so on. What more do we want?
iii) If computer is intelligent,
v) then it must have a mind.
J. McCarthy, M. L. Minsky, N. Rochester, C.E. Shannon. (1955) 'A Proposal for the Dartmouth Summer Research Project on Artificial Intelligence'