On Wednesday, October 19, 2011 02:55:18 PM Petr Blaho wrote:
On Tuesday, October 18, 2011 06:41:52 PM mzatko(a)redhat.com
wrote:
> Got HTTP 200 OK + HTML when accessing API resource with
invalid
credentials
>
https://www.aeolusproject.org/redmine/issues/2457
> Changed to respond with XML and correct status code
>
> _______________________________________________
> aeolus-devel mailing list
> aeolus-devel(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/aeolus-devel
Still failing two tests.
It will work if Api::BuildsController#show and
Api::ImagesController#show
called render :xml => :not_found, :status => :not_found
instead of render :nothing => true, :status => 404
in else branches of if block.
After these changes tests for Api passed.
ACK.
Amended required changes and pushed with mzatko's approval.
--
Petr Blaho