get spec running on rails 3