Skip to content

Commit

Permalink
return error_msg.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Jan 20, 2025
1 parent 1019fef commit 8b742c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/trailblazer/test/assertion/assert_pass.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class PassedWithAttributes
def call(signal, ctx, **options)
model = model_for(ctx, **options)

outcome, _ = assertion(ctx, **options, model: model)
outcome
outcome, error_msg = assertion(ctx, **options, model: model)
return outcome, error_msg
end

# DISCUSS: should we default options like {:model_at} here?
Expand Down

0 comments on commit 8b742c4

Please sign in to comment.