updating spec helper to work with latest rspec