Sha256: c2351569806c53078fcc4a0bad3171d506e0cb1e32d3b79ff4ed524863fec4cc

Contents?: true

Size: 772 Bytes

Versions: 7

Compression:

Stored size: 772 Bytes

Contents

require 'spec_helper'
# require 'wukong'

# require 'hanuman/graphvizzer/gv_presenter'

# describe 'cherry_pie' do

#   # it 'fiddles' do
#   #   load(Pathname.path_to(:examples, 'workflow/cherry_pie.rb'))
#   #   Wukong.workflow(:cherry_pie) do
#   #     Log.dump self
#   #
#   #     graph(:crust) do
#   #       Log.dump self
#   #       action(:bob)
#   #     end
#   #
#   #     Log.dump graph(:crust)
#   #
#   #   end
#   # end


#   describe 'Graphviz View', :if => GRAPHVIZ do
#     it 'makes a png' do
#       require Pathname.path_to(:examples, 'workflow/cherry_pie.rb')

#       gv = Wukong.to_graphviz

#       basename = Pathname.path_to(:tmp, 'cherry_pie')
#       gv.save(basename, 'png')
#       puts File.read("#{basename}.dot")
#     end
#   end

# end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ul-wukong-4.1.1 spec/examples/workflow/cherry_pie_spec.rb
ul-wukong-4.1.0 spec/examples/workflow/cherry_pie_spec.rb
wukong-4.0.0 spec/examples/workflow/cherry_pie_spec.rb
wukong-3.0.1 spec/examples/workflow/cherry_pie_spec.rb
wukong-3.0.0 spec/examples/workflow/cherry_pie_spec.rb
wukong-3.0.0.pre3 spec/examples/workflow/cherry_pie_spec.rb
wukong-3.0.0.pre2 spec/examples/workflow/cherry_pie_spec.rb