examples/singletons.rb in dynflow-1.3.0 vs examples/singletons.rb in dynflow-1.4.0
- old
+ new
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
example_description = <<DESC
Sub Plans Example
===================
@@ -42,12 +43,12 @@
| #{t1.id} should finish successfully
| #{t3.id} should finish successfully because it is a singleton of different class
| #{t2.id} should fail because #{t1.id} holds the lock
|
| You can see the details at
- | http://localhost:4567/#{t1.id}
- | http://localhost:4567/#{t2.id}
- | http://localhost:4567/#{t3.id}
+ | #{ExampleHelper::DYNFLOW_URL}/#{t1.id}
+ | #{ExampleHelper::DYNFLOW_URL}/#{t2.id}
+ | #{ExampleHelper::DYNFLOW_URL}/#{t3.id}
|
MSG
ExampleHelper.run_web_console
end