gregbell/active_admin — pull request #945 by mattvague (2012-01-27 21:09:32+00:00)
Title: Use current_admin_user instead of current_user in scope for test-rails-app

Right now the usage of current_user.posts in rails_template_with_data causes an error because the test app defaults to current_admin_user instead of current user. This pull request changes that scope to use current_admin_user.posts.