switched to the new Rspec style of expectations