[knife-cloud] Fix rspec deprecation warnings

Fixed rspec deprecation warnings for tests.
@kaustubh-d