use new expect syntax for rspec