Fixing rspec-rails test failure