theforeman/foreman — pull request #260 by isratrade (2012-11-22 10:21:35+00:00)
Title: set apiadmin user in headers before api controller tests

* Added metehod set_api_user to setup in test_helper
* Removed as_user :admin methods
* TODO - changes cause 4 failing tests in functionals/hosts_controller_tests.rb