Skip to content

Commit

Permalink
FastTrack doc tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Nov 20, 2023
1 parent 5886121 commit 9ce2191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/docs/fast_track_layout_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Create < Trailblazer::Activity::FastTrack
fail :handle_errors

def validate(ctx, params:, **)
return Trailblazer::Activity::FastTrack::FailFast if params.nil?
return Trailblazer::Activity::FastTrack::FailFast if params.nil? #!hint return Railway.fail_fast! if params.nil?

params.key?(:memo)
end
Expand Down

0 comments on commit 9ce2191

Please sign in to comment.