Skip to content

Commit a2cea55

Browse files
author
dbt Labs
committed
fix
1 parent 099cb14 commit a2cea55

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

models/marts/customers.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ models:
2525
description: Options are 'new' or 'returning', indicating if a customer has ordered more than once or has only placed their first order to date.
2626
tests:
2727
- accepted_values:
28-
values: ["new", "returning"]
28+
arguments:
29+
values: ["new", "returning"]
2930
metrics:
3031
# Simple metrics
3132
- name: customers_with_orders

models/marts/orders.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ models:
1111
description: The foreign key relating to the customer who placed the order.
1212
tests:
1313
- relationships:
14-
to: ref('stg_customers')
15-
field: customer_id
14+
arguments:
15+
to: ref('stg_customers')
16+
field: customer_id
1617
- name: location_id
1718
description: The foreign key relating to the location the order was placed at.
1819
- name: order_total

0 commit comments

Comments
 (0)