Fix failing cache specs by using rspec-mocks correctly
Properly indent specs