When we run our spec files, the contract is saved ...
# pact-ruby
s
When we run our spec files, the contract is saved in 
/spec/pacts
, but we have to create the directory right, and how do we configure that the pacts are stored there?
@Beth (pactflow.io/Pact Broker/pact-ruby) @Matt (pactflow.io / pact-js / pact-go)
@Matt (pactflow.io / pact-js / pact-go) can you clarify this please
m
I’m not sure sorry Diva, I don’t know Pact Ruby at all
is that what you’re after?
Also, if you go to docs.pact.io and search “pact ruby configuration” or “pact ruby dir” this is the top article
s
Yes thanks, I did see it, but what I am confused about is do we have to explicitly put these configuration in
pact_helper
file or somewhere else
m
I think this is more about how you structure your rspec tests. You can put it wherever makes sense. At Pactflow, we put it in a
pact_helper
file
s
Okay thanks Matt!
👍 1