Commit 364fc01e authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Fix Rubocop offense in CI/CD build state machine

parent 8dcff576fa83
......@@ -64,7 +64,7 @@ def retry(build, current_user)
state_machine :status do
event :block do
transition :created => :blocked
transition created: :blocked
end
after_transition any => [:pending] do |build|
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment