Skip to content

Instantly share code, notes, and snippets.

@calh
Last active March 18, 2019 20:23
Show Gist options
  • Select an option

  • Save calh/ecd243d7e2ed458c6b522bc5e35bc0f9 to your computer and use it in GitHub Desktop.

Select an option

Save calh/ecd243d7e2ed458c6b522bc5e35bc0f9 to your computer and use it in GitHub Desktop.

Revisions

  1. calh revised this gist Mar 18, 2019. 1 changed file with 10 additions and 62 deletions.
    72 changes: 10 additions & 62 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -2,74 +2,22 @@ Loaded suite /home/cal/ticket_auth/vendor/bundle/ruby/2.3.0/gems/rake-0.9.2.2/li
    Started
    ...................................................................................................

    Finished in 39.037060666 seconds.
    Finished in 37.427476079 seconds.
    -------------------------------------------------------------------------------------------------------------------------
    99 tests, 252 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
    0% passed
    -------------------------------------------------------------------------------------------------------------------------
    2.54 tests/s, 6.46 assertions/s
    2.65 tests/s, 6.73 assertions/s
    Loaded suite /home/cal/ticket_auth/vendor/bundle/ruby/2.3.0/gems/rake-0.9.2.2/lib/rake/rake_test_loader
    Started
    .........F
    =========================================================================================================================
    Failure: Expected response to be a <:success>, but was <500>.
    test_get_consumer_login_and_contact_id_has_no_portal_account(AuthenticationControllerTest)
    vendor/bundle/ruby/2.3.0/gems/actionpack-3.2.22.5/lib/action_dispatch/testing/assertions/response.rb:38:in `assert_response'
    test/functional/authentication_controller_test.rb:227:in `block in <class:AuthenticationControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3211476318884027098__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    F
    =========================================================================================================================
    Failure: <nil> is not true.
    test_hide_FCA_sign_up_page_for_MLS-level_users(AuthenticationControllerTest)
    test/functional/authentication_controller_test.rb:234:in `block in <class:AuthenticationControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3211476318884027098__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    .F
    =========================================================================================================================
    Failure:
    Bad behavior used to 500 the app.
    Expected response to be a <200>, but was <500>.
    test_index_rejected_with_bad_contact_id(AuthenticationControllerTest)
    vendor/bundle/ruby/2.3.0/gems/actionpack-3.2.22.5/lib/action_dispatch/testing/assertions/response.rb:38:in `assert_response'
    test/functional/authentication_controller_test.rb:248:in `block in <class:AuthenticationControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3211476318884027098__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    .......F
    =========================================================================================================================
    Failure: <nil> is not true.
    test_show_FCA_sign_up_page_for_MLS-level_users_when_unconnected(AuthenticationControllerTest)
    test/functional/authentication_controller_test.rb:242:in `block in <class:AuthenticationControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3211476318884027098__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    .....................................................F
    ..........................................................................F
    =========================================================================================================================
    Failure: expecting <"edit"> but rendering with <"http_status/500, layouts/http_status">
    test_edit_account_with_Voucher(ConsumerControllerTest)
    vendor/bundle/ruby/2.3.0/gems/actionpack-3.2.22.5/lib/action_controller/test_case.rb:97:in `assert_template'
    test/functional/consumer_controller_test.rb:42:in `block in <class:ConsumerControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3166053721995159459__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3555324114468257321__setup__3313413993724230620__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    @@ -82,28 +30,28 @@ test_edit_account_with_missing_portal_slug(ConsumerControllerTest)
    vendor/bundle/ruby/2.3.0/gems/actionpack-3.2.22.5/lib/action_dispatch/testing/assertions/response.rb:38:in `assert_response'
    test/functional/consumer_controller_test.rb:61:in `block in <class:ConsumerControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3166053721995159459__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3555324114468257321__setup__3313413993724230620__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    ..........................................................

    Finished in 95.289327814 seconds.
    Finished in 95.027132918 seconds.
    -------------------------------------------------------------------------------------------------------------------------
    134 tests, 683 assertions, 6 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
    134 tests, 685 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
    0% passed
    -------------------------------------------------------------------------------------------------------------------------
    1.41 tests/s, 7.17 assertions/s
    1.41 tests/s, 7.21 assertions/s
    Loaded suite /home/cal/ticket_auth/vendor/bundle/ruby/2.3.0/gems/rake-0.9.2.2/lib/rake/rake_test_loader
    Started
    ...................................

    Finished in 24.432102571 seconds.
    Finished in 24.706593666 seconds.
    -------------------------------------------------------------------------------------------------------------------------
    35 tests, 166 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
    0% passed
    -------------------------------------------------------------------------------------------------------------------------
    1.43 tests/s, 6.79 assertions/s
    1.42 tests/s, 6.72 assertions/s
    Errors running test:functionals! #<RuntimeError: Command failed with status (1): [/opt/ruby23/bin/ruby -I"lib:test" -I"/home...]>
  2. calh created this gist Mar 18, 2019.
    109 changes: 109 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,109 @@
    Loaded suite /home/cal/ticket_auth/vendor/bundle/ruby/2.3.0/gems/rake-0.9.2.2/lib/rake/rake_test_loader
    Started
    ...................................................................................................

    Finished in 39.037060666 seconds.
    -------------------------------------------------------------------------------------------------------------------------
    99 tests, 252 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
    0% passed
    -------------------------------------------------------------------------------------------------------------------------
    2.54 tests/s, 6.46 assertions/s
    Loaded suite /home/cal/ticket_auth/vendor/bundle/ruby/2.3.0/gems/rake-0.9.2.2/lib/rake/rake_test_loader
    Started
    .........F
    =========================================================================================================================
    Failure: Expected response to be a <:success>, but was <500>.
    test_get_consumer_login_and_contact_id_has_no_portal_account(AuthenticationControllerTest)
    vendor/bundle/ruby/2.3.0/gems/actionpack-3.2.22.5/lib/action_dispatch/testing/assertions/response.rb:38:in `assert_response'
    test/functional/authentication_controller_test.rb:227:in `block in <class:AuthenticationControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3211476318884027098__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    F
    =========================================================================================================================
    Failure: <nil> is not true.
    test_hide_FCA_sign_up_page_for_MLS-level_users(AuthenticationControllerTest)
    test/functional/authentication_controller_test.rb:234:in `block in <class:AuthenticationControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3211476318884027098__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    .F
    =========================================================================================================================
    Failure:
    Bad behavior used to 500 the app.
    Expected response to be a <200>, but was <500>.
    test_index_rejected_with_bad_contact_id(AuthenticationControllerTest)
    vendor/bundle/ruby/2.3.0/gems/actionpack-3.2.22.5/lib/action_dispatch/testing/assertions/response.rb:38:in `assert_response'
    test/functional/authentication_controller_test.rb:248:in `block in <class:AuthenticationControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3211476318884027098__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    .......F
    =========================================================================================================================
    Failure: <nil> is not true.
    test_show_FCA_sign_up_page_for_MLS-level_users_when_unconnected(AuthenticationControllerTest)
    test/functional/authentication_controller_test.rb:242:in `block in <class:AuthenticationControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3211476318884027098__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    .....................................................F
    =========================================================================================================================
    Failure: expecting <"edit"> but rendering with <"http_status/500, layouts/http_status">
    test_edit_account_with_Voucher(ConsumerControllerTest)
    vendor/bundle/ruby/2.3.0/gems/actionpack-3.2.22.5/lib/action_controller/test_case.rb:97:in `assert_template'
    test/functional/consumer_controller_test.rb:42:in `block in <class:ConsumerControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3166053721995159459__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    F
    =========================================================================================================================
    Failure: Expected response to be a <:success>, but was <500>.
    test_edit_account_with_missing_portal_slug(ConsumerControllerTest)
    vendor/bundle/ruby/2.3.0/gems/actionpack-3.2.22.5/lib/action_dispatch/testing/assertions/response.rb:38:in `assert_response'
    test/functional/consumer_controller_test.rb:61:in `block in <class:ConsumerControllerTest>'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:72:in `block in run'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:436:in `_run__3166053721995159459__setup__3788947183349995002__callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
    vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/testing/setup_and_teardown.rb:70:in `run'
    =========================================================================================================================
    ..........................................................

    Finished in 95.289327814 seconds.
    -------------------------------------------------------------------------------------------------------------------------
    134 tests, 683 assertions, 6 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
    0% passed
    -------------------------------------------------------------------------------------------------------------------------
    1.41 tests/s, 7.17 assertions/s
    Loaded suite /home/cal/ticket_auth/vendor/bundle/ruby/2.3.0/gems/rake-0.9.2.2/lib/rake/rake_test_loader
    Started
    ...................................

    Finished in 24.432102571 seconds.
    -------------------------------------------------------------------------------------------------------------------------
    35 tests, 166 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
    0% passed
    -------------------------------------------------------------------------------------------------------------------------
    1.43 tests/s, 6.79 assertions/s
    Errors running test:functionals! #<RuntimeError: Command failed with status (1): [/opt/ruby23/bin/ruby -I"lib:test" -I"/home...]>