Skip to content

Instantly share code, notes, and snippets.

@tosch

tosch/gist:1035539

Created Jun 20, 2011
Embed
What would you like to do?
Failures:
1) /_ruote/processes GET /_ruote/processes/wfid with a running process gives process information back (HTML)
Failure/Error: get "/_ruote/processes/#{@wfid}"
NoMethodError:
undefined method `leaves' for #<Ruote::ProcessStatus:0x000000026195e8>
# ./lib/ruote-kit/resources/processes.rb:27:in `block in <class:Application>'
# ./spec/resources/processes_spec.rb:125:in `block (4 levels) in <top (required)>'
2) /_ruote/processes GET /_ruote/processes/wfid with a running process gives process information back (JSON)
Failure/Error: get "/_ruote/processes/#{@wfid}.json"
NoMethodError:
undefined method `leaves' for #<Ruote::ProcessStatus:0x000000024ea668>
# ./lib/ruote-kit/resources/processes.rb:27:in `block in <class:Application>'
# ./spec/resources/processes_spec.rb:142:in `block (4 levels) in <top (required)>'
3) /_ruote/processes GET /_ruote/processes/wfid without a running process goes 404 correctly (HTML)
Failure/Error: get '/_ruote/processes/foo'
NoMethodError:
undefined method `leaves' for nil:NilClass
# ./lib/ruote-kit/resources/processes.rb:27:in `block in <class:Application>'
# ./spec/resources/processes_spec.rb:165:in `block (4 levels) in <top (required)>'
4) /_ruote/processes GET /_ruote/processes/wfid without a running process goes 404 correctly (JSON)
Failure/Error: get '/_ruote/processes/foo.json'
NoMethodError:
undefined method `leaves' for nil:NilClass
# ./lib/ruote-kit/resources/processes.rb:27:in `block in <class:Application>'
# ./spec/resources/processes_spec.rb:174:in `block (4 levels) in <top (required)>'
5) /_ruote/expressions PUT /_ruote/expressions/fei pausing and resuming pauses the expression (branch) (HTML)
Failure/Error: "/_ruote/expressions/#{@exp.fei.sid}",
ArgumentError:
wrong number of arguments (2 for 1)
# ./lib/ruote-kit/resources/expressions.rb:62:in `block in <class:Application>'
# ./spec/resources/expressions_spec.rb:502:in `block (4 levels) in <top (required)>'
6) /_ruote/expressions PUT /_ruote/expressions/fei pausing and resuming pauses the expression (branch) (JSON)
Failure/Error: "/_ruote/expressions/#{@exp.fei.sid}.json",
ArgumentError:
wrong number of arguments (2 for 1)
# ./lib/ruote-kit/resources/expressions.rb:62:in `block in <class:Application>'
# ./spec/resources/expressions_spec.rb:520:in `block (4 levels) in <top (required)>'
7) /_ruote/expressions PUT /_ruote/expressions/fei pausing as a breakpoint pauses the expression (breakpoint) (HTML)
Failure/Error: "/_ruote/expressions/#{@exp.fei.sid}",
ArgumentError:
wrong number of arguments (2 for 1)
# ./lib/ruote-kit/resources/expressions.rb:62:in `block in <class:Application>'
# ./spec/resources/expressions_spec.rb:601:in `block (4 levels) in <top (required)>'
8) /_ruote/expressions PUT /_ruote/expressions/fei pausing as a breakpoint pauses the expression (breakpoint) (JSON)
Failure/Error: Rufus::Json.dump({ 'state' => 'paused', 'breakpoint' => true }),
NoMethodError:
undefined method `dump' for Rufus::Json:Module
# ./spec/resources/expressions_spec.rb:622:in `block (4 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.