RSpec helper for viewport management inside integration tests