use rspec-mocks rather than mocha

so we can declare assertions in Then