use new expect-based rspec syntax