Fixing deprecation warning for old rspec style declarations