Skip to content

Commit

Permalink
import evaluate_lazy_attributes for ExMachina (#410)
Browse files Browse the repository at this point in the history
When someone uses `ExMachina`, we automatically import
the helper functions. We forgot to import `evaluate_lazy_attributes`. 
This commit fixes that.
  • Loading branch information
dvic authored Jan 28, 2021
1 parent 6dd7079 commit b507e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_machina.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ defmodule ExMachina do
quote do
@before_compile unquote(__MODULE__)

import ExMachina, only: [sequence: 1, sequence: 2, merge_attributes: 2]
import ExMachina, only: [sequence: 1, sequence: 2, merge_attributes: 2, evaluate_lazy_attributes: 1]

def build(factory_name, attrs \\ %{}) do
ExMachina.build(__MODULE__, factory_name, attrs)
Expand Down

0 comments on commit b507e63

Please sign in to comment.