Skip to content

Commit

Permalink
Allow rerun of test
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Jul 1, 2024
1 parent 354dd37 commit 3dc9a03
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/polar/streams/version/transitions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ defmodule Polar.Streams.Version.Transitions do
fn changes -> transit(changes) end
)

Version
|> transition(
[from: "inactive", to: "testing", via: "test"],
fn changes -> transit(changes) end
)

Version
|> transition(
[from: "testing", to: "inactive", via: "deactivate"],
Expand Down

0 comments on commit 3dc9a03

Please sign in to comment.