Closed paul closed 10 years ago
I thought this was ready and merged it but ran into issues getting the tests to actually work. The API requires an instrument to exist for the snapshot routes to act on and there isn't accounting for that here.
Reverted for now, note we'll have to revert the revert when re-merging.
@nextmat this gem doesn't implement the instruments API, so I'm not really sure how to go about creating the instrument used for the test. Any ideas?
I think probably the best approach is going to be to grab the connection object and do a manual post to the right route using it. You should be able to get it from Metrics.connection
or Metrics.client.connection
.
Looks good :+1: