dashbitco / mox

Mocks and explicit contracts in Elixir
1.35k stars 77 forks source link

module mocks don't have the behaviour of the behaviour they came from #89

Closed ityonemo closed 4 years ago

ityonemo commented 4 years ago

for a module mock_module created with defmock/2 mock_module.__info__(:attributes) doesn't contain the expected {:behaviour, [Module]} parameter.

ityonemo commented 4 years ago

fixed in pr https://github.com/dashbitco/mox/pull/90