Remove unnecessary map and sort.
Fix test; since available_versions already returns a sorted list, we need to return a sorted list in the stub too.
[CHEF-4022] Change error message to not befuddle the user.
CHEF-4022: Update test for new error message
[CHEF-955] Turned on remote tracking branch setup for 'origin' remote in git provider
[CHEF-955] Refactored remote tracking setup tests into a separate context
[CHEF-955] Changed behavior of setup_remote_tracking_branches method

Refactored the method to use appropriate git command depending
on the current status of git config.
[CHEF-955] Added condition running remote set-url only when neccessary
[CHEF-955] Added tests to document the current state of add_remote method
[CHEF-955] Refactored add_remotes function to use setup remote tracking branches
[CHEF-955] Updated remote branch url change command

Using 'git config' instead of 'git remote --set-url' to assure
compatibility with git < 1.7.0
[CHEF-955] Test refactoring and formatting cleanup

Organized the remote branches setup tests into describe blocks.
Removed some trailing spaces.
[CHEF-955] Made setup_remote_tracking_branches parameters to be required

Removed uncessary complexity with checking for presence of both
parameters for setup_remote_tracking_branches.
[CHEF-955] Test fixes after rebasing the branch

Removed uneeded 'converge' commands and some log_level param assumptions from spec
[CHEF-955] Refactored remote url update conditions
CHEF-3544 Honor chefignore in cookbook syntax check
Fix cookbook_loader test after adding ignorken test cookbook.
Use cookbook_path accessor instead of instance variable in syntax_check
CHEF-3544: Stop trying to count instances of the warning

Everytime we add more tests we have to increment this number, and it's insane
to try to audit what it's supposed to be now
[CHEF-3366] Add --non-interactive option to zypper info to prevent it from blocking.

If the machine has a local network issue which means that zypper can't
contact the remote repositories, it will get stuck in the interactive
"Abort, retry, ignore?" loop.  When zypper is invoked from Chef, this
hang can easily be prevented with the -n switch.
Changed find_subcommands_via_rubygems to only search latest gem versions