It is expected.  E.g. you could have contacts_path = "contracts", and call
load_all twice, once with "rackspace" and once with "openstack" (plus a
different host and tags).  You should load contracts/rackspace and
contracts/openstack with different options.
On Oct 22, 2013 2:05 AM, "Jesús Mercado" <notifications@github.com> wrote:

> In lib/pacto/core/contract_repository.rb:
>
> > @@ -21,6 +21,16 @@ def use(tag, values = {})
> >        merged_contracts.count
> >      end
> >
> > +    def load_all(contracts_directory, host, *tags)
> > +      dir = File.expand_path contracts_directory, configuration.contracts_path
>
> I was working on this PR adding more unit tests I have a doubt:
> are not contracts_directory and configuration.contracts_path actually the
> same thing? I might remove the first one and only use the second
> If this is a expected behavior then probably a example (journey?) showing
> a real scenario when we have contracts_path as a parent directory of
> contracts_directory would help.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/thoughtworks/pacto/pull/41/files#r7116047>
> .
>