fixing rspec-3 deprecation

fixing rspec-3 deprecation
Correct the indentation