Method: BugTest#test_admin_root_success?
- Defined in:
- lib/bug_report_templates/active_admin_main.rb
#test_admin_root_success? ⇒ Boolean
91 92 93 94 95 96 |
# File 'lib/bug_report_templates/active_admin_main.rb', line 91 def test_admin_root_success? get admin_root_url assert_response :success assert_match 'Test Me', response.body # has content assert_match 'Users', response.body # has 'Your Models' in menu end |