| 2012-07-14 15:17:11 utc | jmettraux | doug__: hello and welcome to #ruote |
| 2012-07-14 15:18:28 utc | doug__ | hey jmettaux. Was just about to ask a question about where you thought the best place to add the tests for dispatched msg including workitem hash |
| 2012-07-14 15:18:47 utc | doug__ | per route list email from yesterday |
| 2012-07-14 15:19:02 utc | jmettraux | ok, let me check |
| 2012-07-14 15:19:26 utc | doug__ | thanks |
| 2012-07-14 15:20:24 utc | jmettraux | probably in https://github.com/jmettraux/ruote/blob/master/test/functional/eft_3_participant.rb#L126-142 |
| 2012-07-14 15:20:50 utc | jmettraux | line 136 can be rewritten as: r = @dashboard.wait_for('dispatched') |
| 2012-07-14 15:21:00 utc | jmettraux | and you can assert that r contains the workitem |
| 2012-07-14 15:21:27 utc | doug__ | new test or add it to the same test? |
| 2012-07-14 15:21:45 utc | jmettraux | same test should be ok |
| 2012-07-14 15:29:16 utc | doug__ | how's this look for the assertions |
| 2012-07-14 15:29:16 utc | doug__ | assert_equal true, r.has_key?('fei') |
| 2012-07-14 15:29:17 utc | doug__ | assert_equal true, r.has_key?('workitem') |
| 2012-07-14 15:29:18 utc | doug__ | assert_equal true, r.has_key?('participant_name') |
| 2012-07-14 15:30:04 utc | jmettraux | assert r.has_hey?('fei') |
| 2012-07-14 15:30:12 utc | jmettraux | has_key |
| 2012-07-14 15:30:34 utc | jmettraux | is shorter, although the error message is lamer |
| 2012-07-14 15:31:05 utc | doug__ | ok |
| 2012-07-14 15:44:51 utc | doug__ | Thanks for the help. Just sent a pull request |
| 2012-07-14 15:49:40 utc | jmettraux | it's pulled in, many thanks! |
| 2012-07-14 15:50:42 utc | doug__ | welcome. thanks for getting that done so quickly. was just talking w/ my coworkers yesterday about how responsive you are. Thank you very much |
| 2012-07-14 15:51:04 utc | jmettraux | :-) |
| 2012-07-14 15:53:25 utc | doug__ | we are using route to orchestrate bunch of services which make up a life insurance exchange market. It's worked out well for us so far. |
| 2012-07-14 15:53:53 utc | jmettraux | oh, great. Which storage are you using? |
| 2012-07-14 15:54:00 utc | doug__ | postgres |
| 2012-07-14 15:54:32 utc | jmettraux | with sequel? |
| 2012-07-14 15:54:36 utc | doug__ | yes |
| 2012-07-14 15:54:47 utc | jmettraux | excellent |
| 2012-07-14 15:55:03 utc | jmettraux | thanks for contributing, it's much appreciated |
| 2012-07-14 15:55:30 utc | doug__ | welcome |
| 2012-07-14 15:55:33 utc | doug__ | have a good day |