basho / cuttlefish

never lose your childlike sense of wonder baby cuttlefish, promise me?
Apache License 2.0
205 stars 124 forks source link

RHS Sub unit testability #119

Closed joedevivo closed 10 years ago

joedevivo commented 10 years ago

When writing the eunit tests for riak_kv, I noticed I had no way of including the mapping my platform_bin_dir depended on without reading in the riak_core schema. This PR allows you to pass in a schema that you can define in the test.

bookshelfdave commented 10 years ago

eunit tests pass https://gist.github.com/metadave/8939370

bookshelfdave commented 10 years ago

+1, seems legit