Refactoring acceptance tests using rspec