Skip to content

Instantly share code, notes, and snippets.

@ananyo2012
Created June 16, 2017 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ananyo2012/5f74fadf8a15b76dfc669c1e39337d44 to your computer and use it in GitHub Desktop.
Save ananyo2012/5f74fadf8a15b76dfc669c1e39337d44 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="AdminControllerTest" tests="32" time="2.978786315" failures="1" errors="0" skipped="0" assertions="111" timestamp="2017-06-16T22:59:34+05:30">
<testcase name="test_admin_should_demote_moderator_role_to_basic" time="0.548260567" assertions="2">
</testcase>
<testcase name="test_admin_should_promote_user_role_to_admin" time="0.038366581" assertions="2">
</testcase>
<testcase name="test_admin_should_promote_user_role_to_moderator" time="0.040179291" assertions="2">
</testcase>
<testcase name="test_admin_user_should_be_able_to_mark_a_node_as_spam" time="0.181041467" assertions="8">
</testcase>
<testcase name="test_admin_user_should_be_able_to_republish_a_revision" time="0.067763301" assertions="7">
</testcase>
<testcase name="test_admin_user_should_be_able_to_see_spam_page" time="0.233914094" assertions="2">
</testcase>
<testcase name="test_admin_user_should_be_able_to_see_spam_revisions_page" time="0.093272608" assertions="2">
</testcase>
<testcase name="test_admin_user_should_be_able_to_spam_a_revision" time="0.056218164" assertions="6">
</testcase>
<testcase name="test_admin_user_should_be_able_to_unspam_a_note" time="0.055551622" assertions="4">
</testcase>
<testcase name="test_admin_user_should_not_be_able_to_mark_a_node_as_spam_if_it's_already_spammed" time="0.036044204" assertions="4">
</testcase>
<testcase name="test_fail_a_test" time="0.042654702" assertions="1">
<failure type="Test::Unit::AssertionFailedError" message="&lt;false&gt; is not true.">
&lt;false&gt; is not true. (Test::Unit::AssertionFailedError)
test/functional/admin_controller_test.rb:393:in `block in &lt;class:AdminControllerTest&gt;' </failure>
</testcase>
<testcase name="test_first-timer_moderated_note_(status=4)_can_be_spammed_by_moderator_with_notice_and_emails" time="0.093225592" assertions="7">
</testcase>
<testcase name="test_first_timer_question_should_redirect_to_question_path_when_approved_by_admin" time="0.26319922" assertions="5">
</testcase>
<testcase name="test_moderator_should_promote_user_role_to_moderator" time="0.033940098" assertions="2">
</testcase>
<testcase name="test_moderator_user_should_be_able_to_mark_a_node_as_spam" time="0.095356948" assertions="8">
</testcase>
<testcase name="test_moderator_user_should_be_able_to_publish_a_moderated_first_timer's_note" time="0.172330256" assertions="10">
</testcase>
<testcase name="test_moderator_user_should_be_able_to_see_spam_page" time="0.106828096" assertions="2">
</testcase>
<testcase name="test_moderator_user_should_be_able_to_see_spam_revisions_page" time="0.088251482" assertions="2">
</testcase>
<testcase name="test_moderator_user_should_be_able_to_unspam_a_note" time="0.054132332" assertions="5">
</testcase>
<testcase name="test_moderator_user_should_not_be_able_to_publish_a_note_if_it's_already_published" time="0.035164163" assertions="4">
</testcase>
<testcase name="test_non-registered_user_should_not_be_able_to_mark_a_node_as_spam" time="0.022160017" assertions="3">
</testcase>
<testcase name="test_non-registered_user_should_not_be_able_to_see_spam_page" time="0.006054971" assertions="2">
</testcase>
<testcase name="test_non-registered_user_should_not_be_able_to_see_spam_revisions_page" time="0.020957516" assertions="2">
</testcase>
<testcase name="test_normal_user_should_not_be_able_to_mark_a_node_as_spam" time="0.039270329" assertions="3">
</testcase>
<testcase name="test_normal_user_should_not_be_able_to_see_spam_page" time="0.03460368" assertions="2">
</testcase>
<testcase name="test_normal_user_should_not_be_able_to_see_spam_revisions_page" time="0.035793081" assertions="2">
</testcase>
<testcase name="test_normal_user_should_not_be_able_to_unspam_a_note" time="0.03849402" assertions="3">
</testcase>
<testcase name="test_should_get_/admin/queue_if_moderator" time="0.334530491" assertions="2">
</testcase>
<testcase name="test_should_not_get_/admin/queue_if_not_logged_in" time="0.007522195" assertions="1">
</testcase>
<testcase name="test_user_should_not_demote_other_moderator_role_to_basic" time="0.0335216" assertions="2">
</testcase>
<testcase name="test_user_should_not_promote_other_user_role_to_admin" time="0.031284866" assertions="2">
</testcase>
<testcase name="test_user_should_not_promote_other_user_role_to_moderator" time="0.033303553" assertions="2">
</testcase>
</testsuite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment