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: polymorphic_test.rb
    path of file: ./repos/inherited_resources/test
    
    the code of the file until where you have to start completion: require 'test_helper'

class Factory; en
    
  def test_expose_a_new_employee_on_new
    Employee.expects(:build).returns(mock_employee)
    get :new, params: { company_id: '37' }

    assert_equal mock_company, assigns(:company)
    assert_equal mock_employee, assigns(:employee)
  end