ZeusWPI/Gandalf — pull request #384 by Silox (2014-02-08 13:02:52+00:00)
Title: Register Form is shown even though there are no tickets I can register

The register form is shown with an empty list when there are private or member only tickets that I can not register. (And the ticket I can register is hidden).

Below is the beginning of a test-case you can use

access_levels(:one).update(hidden: true)
access_levels(:two).update(hidden: true)
get :show, event_id: 1
assert_select "#basic-registration_form", false, "Should not containt registration form"