Created
May 12, 2011 14:06
-
-
Save trotter/968560 to your computer and use it in GitHub Desktop.
spec fails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in /Users/trotter/code/my-open-source/newflow) | |
......................................FFFFFFF | |
1) | |
'A workflow A workflow with no states should raise an error on creation' FAILED | |
expected Newflow::InvalidStateDefinitionError, got #<ArgumentError: wrong number of arguments (1 for 0)> | |
spec/newflow_workflow_spec.rb:17:in `block (3 levels) in <top (required)>' | |
2) | |
'A workflow A workflow with one state should raise an error on creation' FAILED | |
expected Newflow::InvalidStateDefinitionError, got #<ArgumentError: wrong number of arguments (1 for 0)> | |
spec/newflow_workflow_spec.rb:29:in `block (3 levels) in <top (required)>' | |
3) | |
ArgumentError in 'A workflow The minimal valid workflow should begin in start state' | |
wrong number of arguments (1 for 0) | |
spec/newflow_workflow_spec.rb:36:in `block (4 levels) in <top (required)>' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:25:in `instance_eval' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:25:in `construct_workflow!' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:5:in `initialize' | |
spec/newflow_workflow_spec.rb:49:in `new' | |
spec/newflow_workflow_spec.rb:49:in `block (3 levels) in <top (required)>' | |
4) | |
ArgumentError in 'A workflow The minimal valid workflow should trigger the on_entry when going to finish' | |
wrong number of arguments (1 for 0) | |
spec/newflow_workflow_spec.rb:36:in `block (4 levels) in <top (required)>' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:25:in `instance_eval' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:25:in `construct_workflow!' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:5:in `initialize' | |
spec/newflow_workflow_spec.rb:49:in `new' | |
spec/newflow_workflow_spec.rb:49:in `block (3 levels) in <top (required)>' | |
5) | |
ArgumentError in 'A workflow The minimal valid workflow should be able to transition to the finish state' | |
wrong number of arguments (1 for 0) | |
spec/newflow_workflow_spec.rb:36:in `block (4 levels) in <top (required)>' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:25:in `instance_eval' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:25:in `construct_workflow!' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:5:in `initialize' | |
spec/newflow_workflow_spec.rb:49:in `new' | |
spec/newflow_workflow_spec.rb:49:in `block (3 levels) in <top (required)>' | |
6) | |
ArgumentError in 'A workflow The minimal valid workflow should stop in the finish state' | |
wrong number of arguments (1 for 0) | |
spec/newflow_workflow_spec.rb:36:in `block (4 levels) in <top (required)>' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:25:in `instance_eval' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:25:in `construct_workflow!' | |
/Users/trotter/code/my-open-source/newflow/lib/newflow/workflow.rb:5:in `initialize' | |
spec/newflow_workflow_spec.rb:49:in `new' | |
spec/newflow_workflow_spec.rb:49:in `block (3 levels) in <top (required)>' | |
7) | |
'A workflow A workflow with an invalid object should raise an error on instantiation' FAILED | |
expected Newflow::InvalidWorkflowStateError, got #<ArgumentError: wrong number of arguments (1 for 0)> | |
spec/newflow_workflow_spec.rb:92:in `block (3 levels) in <top (required)>' | |
Finished in 0.063245 seconds | |
45 examples, 7 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment