not using deprecated rspec API