version: 2
sources:
  - name: test_source
    schema: "{{ var('test_run_schema') }}"
    tables:
      - name: test_table
        identifier: source
        columns:
          - name: favorite_color
            tests:
              - relationships:
                  to: ref('model')
                  # this will get rendered as its literal
                  field: "{{ 'favorite' ~ 'color' }}"
