require "test_helper" class BackofficeControllerTest < ::ControllerTest teardown do logout end setup do User.create!(email_address: "test@example.com", password: "password") login("test@example.com", "password") end test "should get show" do get backoffice_url assert_response :success end end