Wrong Podfile used

Hey there, I’m experiencing the following issue:

We have an iOS framework-project with a Podfile lying in the root-directory.
The project is itself a Pod, thus it also has a .podspec in the root-directory but that shouldn’t matter, I guess.

Now there is also a Test-App project in a subfolder of the root-directory, which logically also has a Podfile, which only references the framework-Pod as a development Pod (:path => ‘…’).

Now, in my CircleCI builds (of the framework), when I do not explicitly specify

dependencies:
  override:
    - pod install

in my circle.yml, the Podfile of the TestApp is used instead of the top-level Podfile.
I guess this is not intentional, is it?

Greetings