Closed JanStevens closed 5 years ago
Ha found the issue, in find_fixture_set
downcase
is used but if you have a camelCase class name it should be underscore
so it matches class name file name convension
'UniverseClient'.downcase => 'universeclient'
vs
'UniverseClient'.underscore => 'universe_client'
Good catch! Thanks for reporting. I'll fix that later tonight.
Hello,
When you have 2 clients with exactly the same operation the fixtures of the first client are only used. This is probably because of the following implementation https://github.com/yuki24/artemis/commit/e1f57f49ebb032553d7a6f70e48422fc9825c119 which does not keep track of the fixtures / client relation and only uses the name of the file to lookup fixtures (probably it should be client + name of file)
So when you have to clients with exactly the same query
query_events
and your fixutres are like thisThen when stubbing out client 2 using:
You get