Refactor RSpec integration example