convert rspec to base