[knife-cloud] Fix rspec deprecation warnings

Fixed rspec deprecation warnings for unit tests.
Working on functional tests.
@kaustubh-d