You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: authorization_test.rb
    path of file: ./repos/workarea/core/test/integration/workarea
    
    the code of the file until where you have to start completion: require 'test_helper'

module Workarea
  class AuthorizationTest < IntegrationTest
    cla
    
    def test_valid_permissions
      AuthorizationController.required_permissions(:store)
      @user.update_attributes!(admin: true, store_access: true)
      assert_authorized

      AuthorizationController.reset_permissions!
      AuthorizationController.required_permissions(:orders_manager)
      @user.update_attributes!(admin: true, orders_manager: true)
      assert_authorized
    end