OC-9952 Fix deprecation errors in knife azure

Updated rspec tests to remove deprecated rspec methods.
PBI details: https://tickets.corp.opscode.com/browse/OC-9952
@adamedx Please review the changes. Thanks.