branston 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/lib/branston/app/controllers/stories_controller.rb +104 -103
  2. data/lib/branston/coverage/app-controllers-application_controller_rb.html +1 -1
  3. data/lib/branston/coverage/app-controllers-iterations_controller_rb.html +107 -101
  4. data/lib/branston/coverage/app-controllers-outcomes_controller_rb.html +114 -102
  5. data/lib/branston/coverage/app-controllers-preconditions_controller_rb.html +54 -90
  6. data/lib/branston/coverage/app-controllers-releases_controller_rb.html +101 -89
  7. data/lib/branston/coverage/app-controllers-scenarios_controller_rb.html +94 -76
  8. data/lib/branston/coverage/app-controllers-sessions_controller_rb.html +60 -42
  9. data/lib/branston/coverage/app-controllers-stories_controller_rb.html +188 -110
  10. data/lib/branston/coverage/app-controllers-user_roles_controller_rb.html +123 -87
  11. data/lib/branston/coverage/app-controllers-users_controller_rb.html +39 -27
  12. data/lib/branston/coverage/app-helpers-application_helper_rb.html +26 -8
  13. data/lib/branston/coverage/app-helpers-iterations_helper_rb.html +1 -1
  14. data/lib/branston/coverage/app-helpers-outcomes_helper_rb.html +1 -1
  15. data/lib/branston/coverage/app-helpers-preconditions_helper_rb.html +1 -1
  16. data/lib/branston/coverage/app-helpers-releases_helper_rb.html +1 -1
  17. data/lib/branston/coverage/app-helpers-sessions_helper_rb.html +1 -1
  18. data/lib/branston/coverage/app-helpers-stories_helper_rb.html +1 -1
  19. data/lib/branston/coverage/app-helpers-user_roles_helper_rb.html +1 -1
  20. data/lib/branston/coverage/app-models-iteration_rb.html +1 -1
  21. data/lib/branston/coverage/app-models-outcome_rb.html +1 -1
  22. data/lib/branston/coverage/app-models-participation_rb.html +1 -1
  23. data/lib/branston/coverage/app-models-precondition_rb.html +9 -3
  24. data/lib/branston/coverage/app-models-release_rb.html +1 -1
  25. data/lib/branston/coverage/app-models-scenario_rb.html +3 -3
  26. data/lib/branston/coverage/app-models-story_rb.html +79 -7
  27. data/lib/branston/coverage/app-models-user_rb.html +1 -1
  28. data/lib/branston/coverage/app-models-user_role_rb.html +1 -1
  29. data/lib/branston/coverage/index.html +106 -90
  30. data/lib/branston/coverage/lib-client_rb.html +537 -0
  31. data/lib/branston/coverage/lib-faker_extras_rb.html +1 -1
  32. data/lib/branston/coverage/lib-story_generator_rb.html +43 -49
  33. data/lib/branston/db/test.sqlite3 +0 -0
  34. data/lib/branston/lib/branston.rb +5 -1
  35. data/lib/branston/lib/client.rb +48 -30
  36. data/lib/branston/test/functional/stories_controller_test.rb +119 -105
  37. data/lib/branston/test/unit/client_test.rb +34 -9
  38. data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_flat.txt +10 -0
  39. data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_graph.html +6603 -0
  40. data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_tree.txt +9714 -0
  41. metadata +6 -5
  42. data/lib/branston/db/production.sqlite3 +0 -0
  43. data/lib/branston/log/development.log +0 -10836
  44. data/lib/branston/log/test.log +0 -52955
@@ -28,8 +28,8 @@
28
28
  <tbody>
29
29
  <tr>
30
30
  <td class="left_align"><a href="app-controllers-outcomes_controller_rb.html">app/controllers/outcomes_controller.rb</a></td>
31
- <td class='right_align'><tt>100</tt></td>
32
- <td class='right_align'><tt>71</tt></td>
31
+ <td class='right_align'><tt>102</tt></td>
32
+ <td class='right_align'><tt>74</tt></td>
33
33
  <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
34
34
  <div class="percent_graph">
35
35
  <div class="covered" style="width:100px"></div>
@@ -69,595 +69,607 @@
69
69
 
70
70
 
71
71
  <tr class="marked">
72
- <td><pre><a name="line3">3</a> before_filter :find_scenario, :except =&gt; [:destroy, :set_outcome_description]</pre></td>
72
+ <td><pre><a name="line3">3</a> before_filter :login_required</pre></td>
73
+ </tr>
74
+
75
+
76
+
77
+ <tr class="marked">
78
+ <td><pre><a name="line4">4</a> before_filter :find_scenario, :except =&gt; [:destroy, :set_outcome_description]</pre></td>
73
79
  </tr>
74
80
 
75
81
 
76
82
 
77
83
  <tr class="inferred">
78
- <td><pre><a name="line4">4</a> </pre></td>
84
+ <td><pre><a name="line5">5</a> </pre></td>
79
85
  </tr>
80
86
 
81
87
 
82
88
 
83
89
  <tr class="marked">
84
- <td><pre><a name="line5">5</a> in_place_edit_for :precondition, :description</pre></td>
90
+ <td><pre><a name="line6">6</a> in_place_edit_for :outcome, :description</pre></td>
85
91
  </tr>
86
92
 
87
93
 
88
94
 
89
95
  <tr class="inferred">
90
- <td><pre><a name="line6">6</a> </pre></td>
96
+ <td><pre><a name="line7">7</a> </pre></td>
91
97
  </tr>
92
98
 
93
99
 
94
100
 
95
101
  <tr class="inferred">
96
- <td><pre><a name="line7">7</a> # GET /outcomes</pre></td>
102
+ <td><pre><a name="line8">8</a> # GET /outcomes</pre></td>
97
103
  </tr>
98
104
 
99
105
 
100
106
 
101
107
  <tr class="inferred">
102
- <td><pre><a name="line8">8</a> # GET /outcomes.xml</pre></td>
108
+ <td><pre><a name="line9">9</a> # GET /outcomes.xml</pre></td>
103
109
  </tr>
104
110
 
105
111
 
106
112
 
107
113
  <tr class="marked">
108
- <td><pre><a name="line9">9</a> def index</pre></td>
114
+ <td><pre><a name="line10">10</a> def index</pre></td>
109
115
  </tr>
110
116
 
111
117
 
112
118
 
113
119
  <tr class="marked">
114
- <td><pre><a name="line10">10</a> @outcomes = Outcome.all</pre></td>
120
+ <td><pre><a name="line11">11</a> @outcomes = @scenario.outcomes</pre></td>
115
121
  </tr>
116
122
 
117
123
 
118
124
 
119
125
  <tr class="inferred">
120
- <td><pre><a name="line11">11</a> </pre></td>
126
+ <td><pre><a name="line12">12</a> </pre></td>
121
127
  </tr>
122
128
 
123
129
 
124
130
 
125
131
  <tr class="marked">
126
- <td><pre><a name="line12">12</a> respond_to do |format|</pre></td>
132
+ <td><pre><a name="line13">13</a> respond_to do |format|</pre></td>
127
133
  </tr>
128
134
 
129
135
 
130
136
 
131
137
  <tr class="marked">
132
- <td><pre><a name="line13">13</a> format.html # index.html.erb</pre></td>
138
+ <td><pre><a name="line14">14</a> format.html # index.html.erb</pre></td>
133
139
  </tr>
134
140
 
135
141
 
136
142
 
137
143
  <tr class="marked">
138
- <td><pre><a name="line14">14</a> format.xml { render :xml =&gt; @outcomes }</pre></td>
144
+ <td><pre><a name="line15">15</a> format.xml { render :xml =&gt; @outcomes }</pre></td>
139
145
  </tr>
140
146
 
141
147
 
142
148
 
143
149
  <tr class="marked">
144
- <td><pre><a name="line15">15</a> format.js { render :partial =&gt; 'outcomes' }</pre></td>
150
+ <td><pre><a name="line16">16</a> format.js</pre></td>
145
151
  </tr>
146
152
 
147
153
 
148
154
 
149
155
  <tr class="inferred">
150
- <td><pre><a name="line16">16</a> end</pre></td>
156
+ <td><pre><a name="line17">17</a> end</pre></td>
151
157
  </tr>
152
158
 
153
159
 
154
160
 
155
161
  <tr class="inferred">
156
- <td><pre><a name="line17">17</a> end</pre></td>
162
+ <td><pre><a name="line18">18</a> end</pre></td>
157
163
  </tr>
158
164
 
159
165
 
160
166
 
161
167
  <tr class="inferred">
162
- <td><pre><a name="line18">18</a> </pre></td>
168
+ <td><pre><a name="line19">19</a> </pre></td>
163
169
  </tr>
164
170
 
165
171
 
166
172
 
167
173
  <tr class="inferred">
168
- <td><pre><a name="line19">19</a> # GET /outcomes/1</pre></td>
174
+ <td><pre><a name="line20">20</a> # GET /outcomes/1</pre></td>
169
175
  </tr>
170
176
 
171
177
 
172
178
 
173
179
  <tr class="inferred">
174
- <td><pre><a name="line20">20</a> # GET /outcomes/1.xml</pre></td>
180
+ <td><pre><a name="line21">21</a> # GET /outcomes/1.xml</pre></td>
175
181
  </tr>
176
182
 
177
183
 
178
184
 
179
185
  <tr class="marked">
180
- <td><pre><a name="line21">21</a> def show</pre></td>
186
+ <td><pre><a name="line22">22</a> def show</pre></td>
181
187
  </tr>
182
188
 
183
189
 
184
190
 
185
191
  <tr class="marked">
186
- <td><pre><a name="line22">22</a> @outcome = Outcome.find(params[:id])</pre></td>
192
+ <td><pre><a name="line23">23</a> @outcome = Outcome.find(params[:id])</pre></td>
187
193
  </tr>
188
194
 
189
195
 
190
196
 
191
197
  <tr class="inferred">
192
- <td><pre><a name="line23">23</a> </pre></td>
198
+ <td><pre><a name="line24">24</a> </pre></td>
193
199
  </tr>
194
200
 
195
201
 
196
202
 
197
203
  <tr class="marked">
198
- <td><pre><a name="line24">24</a> respond_to do |format|</pre></td>
204
+ <td><pre><a name="line25">25</a> respond_to do |format|</pre></td>
199
205
  </tr>
200
206
 
201
207
 
202
208
 
203
209
  <tr class="marked">
204
- <td><pre><a name="line25">25</a> format.html # show.html.erb</pre></td>
210
+ <td><pre><a name="line26">26</a> format.html # show.html.erb</pre></td>
205
211
  </tr>
206
212
 
207
213
 
208
214
 
209
215
  <tr class="marked">
210
- <td><pre><a name="line26">26</a> format.xml { render :xml =&gt; @outcome }</pre></td>
216
+ <td><pre><a name="line27">27</a> format.xml { render :xml =&gt; @outcome }</pre></td>
211
217
  </tr>
212
218
 
213
219
 
214
220
 
215
221
  <tr class="inferred">
216
- <td><pre><a name="line27">27</a> end</pre></td>
222
+ <td><pre><a name="line28">28</a> end</pre></td>
217
223
  </tr>
218
224
 
219
225
 
220
226
 
221
227
  <tr class="inferred">
222
- <td><pre><a name="line28">28</a> end</pre></td>
228
+ <td><pre><a name="line29">29</a> end</pre></td>
223
229
  </tr>
224
230
 
225
231
 
226
232
 
227
233
  <tr class="inferred">
228
- <td><pre><a name="line29">29</a> </pre></td>
234
+ <td><pre><a name="line30">30</a> </pre></td>
229
235
  </tr>
230
236
 
231
237
 
232
238
 
233
239
  <tr class="inferred">
234
- <td><pre><a name="line30">30</a> # GET /outcomes/new</pre></td>
240
+ <td><pre><a name="line31">31</a> # GET /outcomes/new</pre></td>
235
241
  </tr>
236
242
 
237
243
 
238
244
 
239
245
  <tr class="inferred">
240
- <td><pre><a name="line31">31</a> # GET /outcomes/new.xml</pre></td>
246
+ <td><pre><a name="line32">32</a> # GET /outcomes/new.xml</pre></td>
241
247
  </tr>
242
248
 
243
249
 
244
250
 
245
251
  <tr class="marked">
246
- <td><pre><a name="line32">32</a> def new</pre></td>
252
+ <td><pre><a name="line33">33</a> def new</pre></td>
247
253
  </tr>
248
254
 
249
255
 
250
256
 
251
257
  <tr class="marked">
252
- <td><pre><a name="line33">33</a> @outcome = Outcome.new</pre></td>
258
+ <td><pre><a name="line34">34</a> @outcome = Outcome.new</pre></td>
253
259
  </tr>
254
260
 
255
261
 
256
262
 
257
- <tr class="inferred">
258
- <td><pre><a name="line34">34</a> </pre></td>
263
+ <tr class="marked">
264
+ <td><pre><a name="line35">35</a> @outcomes = @scenario.outcomes</pre></td>
265
+ </tr>
266
+
267
+
268
+
269
+ <tr class="marked">
270
+ <td><pre><a name="line36">36</a> @outcomes.push @outcome</pre></td>
259
271
  </tr>
260
272
 
261
273
 
262
274
 
263
275
  <tr class="marked">
264
- <td><pre><a name="line35">35</a> respond_to do |format|</pre></td>
276
+ <td><pre><a name="line37">37</a> respond_to do |format|</pre></td>
265
277
  </tr>
266
278
 
267
279
 
268
280
 
269
281
  <tr class="marked">
270
- <td><pre><a name="line36">36</a> format.html # new.html.erb</pre></td>
282
+ <td><pre><a name="line38">38</a> format.html # new.html.erb</pre></td>
271
283
  </tr>
272
284
 
273
285
 
274
286
 
275
287
  <tr class="marked">
276
- <td><pre><a name="line37">37</a> format.xml { render :xml =&gt; @outcome }</pre></td>
288
+ <td><pre><a name="line39">39</a> format.xml { render :xml =&gt; @outcome }</pre></td>
277
289
  </tr>
278
290
 
279
291
 
280
292
 
281
293
  <tr class="marked">
282
- <td><pre><a name="line38">38</a> format.js { render :partial =&gt; 'outcome' }</pre></td>
294
+ <td><pre><a name="line40">40</a> format.js</pre></td>
283
295
  </tr>
284
296
 
285
297
 
286
298
 
287
299
  <tr class="inferred">
288
- <td><pre><a name="line39">39</a> end</pre></td>
300
+ <td><pre><a name="line41">41</a> end</pre></td>
289
301
  </tr>
290
302
 
291
303
 
292
304
 
293
305
  <tr class="inferred">
294
- <td><pre><a name="line40">40</a> end</pre></td>
306
+ <td><pre><a name="line42">42</a> end</pre></td>
295
307
  </tr>
296
308
 
297
309
 
298
310
 
299
311
  <tr class="inferred">
300
- <td><pre><a name="line41">41</a> </pre></td>
312
+ <td><pre><a name="line43">43</a> </pre></td>
301
313
  </tr>
302
314
 
303
315
 
304
316
 
305
317
  <tr class="inferred">
306
- <td><pre><a name="line42">42</a> # GET /outcomes/1/edit</pre></td>
318
+ <td><pre><a name="line44">44</a> # GET /outcomes/1/edit</pre></td>
307
319
  </tr>
308
320
 
309
321
 
310
322
 
311
323
  <tr class="marked">
312
- <td><pre><a name="line43">43</a> def edit</pre></td>
324
+ <td><pre><a name="line45">45</a> def edit</pre></td>
313
325
  </tr>
314
326
 
315
327
 
316
328
 
317
329
  <tr class="marked">
318
- <td><pre><a name="line44">44</a> @outcome = Outcome.find(params[:id])</pre></td>
330
+ <td><pre><a name="line46">46</a> @outcome = Outcome.find(params[:id])</pre></td>
319
331
  </tr>
320
332
 
321
333
 
322
334
 
323
335
  <tr class="inferred">
324
- <td><pre><a name="line45">45</a> end</pre></td>
336
+ <td><pre><a name="line47">47</a> end</pre></td>
325
337
  </tr>
326
338
 
327
339
 
328
340
 
329
341
  <tr class="inferred">
330
- <td><pre><a name="line46">46</a> </pre></td>
342
+ <td><pre><a name="line48">48</a> </pre></td>
331
343
  </tr>
332
344
 
333
345
 
334
346
 
335
347
  <tr class="inferred">
336
- <td><pre><a name="line47">47</a> # POST /outcomes</pre></td>
348
+ <td><pre><a name="line49">49</a> # POST /outcomes</pre></td>
337
349
  </tr>
338
350
 
339
351
 
340
352
 
341
353
  <tr class="inferred">
342
- <td><pre><a name="line48">48</a> # POST /outcomes.xml</pre></td>
354
+ <td><pre><a name="line50">50</a> # POST /outcomes.xml</pre></td>
343
355
  </tr>
344
356
 
345
357
 
346
358
 
347
359
  <tr class="marked">
348
- <td><pre><a name="line49">49</a> def create</pre></td>
360
+ <td><pre><a name="line51">51</a> def create</pre></td>
349
361
  </tr>
350
362
 
351
363
 
352
364
 
353
365
  <tr class="marked">
354
- <td><pre><a name="line50">50</a> @outcome = Outcome.new(params[:outcome])</pre></td>
366
+ <td><pre><a name="line52">52</a> @outcome = Outcome.new(params[:outcome])</pre></td>
355
367
  </tr>
356
368
 
357
369
 
358
370
 
359
371
  <tr class="marked">
360
- <td><pre><a name="line51">51</a> @outcome.scenario = @scenario</pre></td>
372
+ <td><pre><a name="line53">53</a> @outcome.scenario = @scenario</pre></td>
361
373
  </tr>
362
374
 
363
375
 
364
376
 
365
377
  <tr class="marked">
366
- <td><pre><a name="line52">52</a> @outcomes = @scenario.outcomes</pre></td>
378
+ <td><pre><a name="line54">54</a> @outcomes = @scenario.outcomes</pre></td>
367
379
  </tr>
368
380
 
369
381
 
370
382
 
371
383
  <tr class="marked">
372
- <td><pre><a name="line53">53</a> respond_to do |format|</pre></td>
384
+ <td><pre><a name="line55">55</a> respond_to do |format|</pre></td>
373
385
  </tr>
374
386
 
375
387
 
376
388
 
377
389
  <tr class="marked">
378
- <td><pre><a name="line54">54</a> if @outcome.save</pre></td>
390
+ <td><pre><a name="line56">56</a> if @outcome.save</pre></td>
379
391
  </tr>
380
392
 
381
393
 
382
394
 
383
395
  <tr class="marked">
384
- <td><pre><a name="line55">55</a> flash[:notice] = 'Outcome was successfully created.'</pre></td>
396
+ <td><pre><a name="line57">57</a> flash[:notice] = 'Outcome was successfully created.'</pre></td>
385
397
  </tr>
386
398
 
387
399
 
388
400
 
389
401
  <tr class="marked">
390
- <td><pre><a name="line56">56</a> format.html { redirect_to(@outcome) }</pre></td>
402
+ <td><pre><a name="line58">58</a> format.html { redirect_to(@outcome) }</pre></td>
391
403
  </tr>
392
404
 
393
405
 
394
406
 
395
407
  <tr class="marked">
396
- <td><pre><a name="line57">57</a> format.xml { render :xml =&gt; @outcome, :status =&gt; :created, :location =&gt; @outcome }</pre></td>
408
+ <td><pre><a name="line59">59</a> format.xml { render :xml =&gt; @outcome, :status =&gt; :created, :location =&gt; @outcome }</pre></td>
397
409
  </tr>
398
410
 
399
411
 
400
412
 
401
413
  <tr class="marked">
402
- <td><pre><a name="line58">58</a> format.js</pre></td>
414
+ <td><pre><a name="line60">60</a> format.js</pre></td>
403
415
  </tr>
404
416
 
405
417
 
406
418
 
407
419
  <tr class="inferred">
408
- <td><pre><a name="line59">59</a> else</pre></td>
420
+ <td><pre><a name="line61">61</a> else</pre></td>
409
421
  </tr>
410
422
 
411
423
 
412
424
 
413
425
  <tr class="marked">
414
- <td><pre><a name="line60">60</a> format.html { render :action =&gt; &quot;new&quot; }</pre></td>
426
+ <td><pre><a name="line62">62</a> format.html { render :action =&gt; &quot;new&quot; }</pre></td>
415
427
  </tr>
416
428
 
417
429
 
418
430
 
419
431
  <tr class="marked">
420
- <td><pre><a name="line61">61</a> format.xml { render :xml =&gt; @outcome.errors, :status =&gt; :unprocessable_entity }</pre></td>
432
+ <td><pre><a name="line63">63</a> format.xml { render :xml =&gt; @outcome.errors, :status =&gt; :unprocessable_entity }</pre></td>
421
433
  </tr>
422
434
 
423
435
 
424
436
 
425
437
  <tr class="inferred">
426
- <td><pre><a name="line62">62</a> end</pre></td>
438
+ <td><pre><a name="line64">64</a> end</pre></td>
427
439
  </tr>
428
440
 
429
441
 
430
442
 
431
443
  <tr class="inferred">
432
- <td><pre><a name="line63">63</a> end</pre></td>
444
+ <td><pre><a name="line65">65</a> end</pre></td>
433
445
  </tr>
434
446
 
435
447
 
436
448
 
437
449
  <tr class="inferred">
438
- <td><pre><a name="line64">64</a> end</pre></td>
450
+ <td><pre><a name="line66">66</a> end</pre></td>
439
451
  </tr>
440
452
 
441
453
 
442
454
 
443
455
  <tr class="inferred">
444
- <td><pre><a name="line65">65</a> </pre></td>
456
+ <td><pre><a name="line67">67</a> </pre></td>
445
457
  </tr>
446
458
 
447
459
 
448
460
 
449
461
  <tr class="inferred">
450
- <td><pre><a name="line66">66</a> # PUT /outcomes/1</pre></td>
462
+ <td><pre><a name="line68">68</a> # PUT /outcomes/1</pre></td>
451
463
  </tr>
452
464
 
453
465
 
454
466
 
455
467
  <tr class="inferred">
456
- <td><pre><a name="line67">67</a> # PUT /outcomes/1.xml</pre></td>
468
+ <td><pre><a name="line69">69</a> # PUT /outcomes/1.xml</pre></td>
457
469
  </tr>
458
470
 
459
471
 
460
472
 
461
473
  <tr class="marked">
462
- <td><pre><a name="line68">68</a> def update</pre></td>
474
+ <td><pre><a name="line70">70</a> def update</pre></td>
463
475
  </tr>
464
476
 
465
477
 
466
478
 
467
479
  <tr class="marked">
468
- <td><pre><a name="line69">69</a> @outcome = Outcome.find(params[:id])</pre></td>
480
+ <td><pre><a name="line71">71</a> @outcome = Outcome.find(params[:id])</pre></td>
469
481
  </tr>
470
482
 
471
483
 
472
484
 
473
485
  <tr class="inferred">
474
- <td><pre><a name="line70">70</a> </pre></td>
486
+ <td><pre><a name="line72">72</a> </pre></td>
475
487
  </tr>
476
488
 
477
489
 
478
490
 
479
491
  <tr class="marked">
480
- <td><pre><a name="line71">71</a> respond_to do |format|</pre></td>
492
+ <td><pre><a name="line73">73</a> respond_to do |format|</pre></td>
481
493
  </tr>
482
494
 
483
495
 
484
496
 
485
497
  <tr class="marked">
486
- <td><pre><a name="line72">72</a> if @outcome.update_attributes(params[:outcome])</pre></td>
498
+ <td><pre><a name="line74">74</a> if @outcome.update_attributes(params[:outcome])</pre></td>
487
499
  </tr>
488
500
 
489
501
 
490
502
 
491
503
  <tr class="marked">
492
- <td><pre><a name="line73">73</a> flash[:notice] = 'Outcome was successfully updated.'</pre></td>
504
+ <td><pre><a name="line75">75</a> flash[:notice] = 'Outcome was successfully updated.'</pre></td>
493
505
  </tr>
494
506
 
495
507
 
496
508
 
497
509
  <tr class="marked">
498
- <td><pre><a name="line74">74</a> format.html { redirect_to(@outcome) }</pre></td>
510
+ <td><pre><a name="line76">76</a> format.html { redirect_to(@outcome) }</pre></td>
499
511
  </tr>
500
512
 
501
513
 
502
514
 
503
515
  <tr class="marked">
504
- <td><pre><a name="line75">75</a> format.xml { head :ok }</pre></td>
516
+ <td><pre><a name="line77">77</a> format.xml { head :ok }</pre></td>
505
517
  </tr>
506
518
 
507
519
 
508
520
 
509
521
  <tr class="inferred">
510
- <td><pre><a name="line76">76</a> else</pre></td>
522
+ <td><pre><a name="line78">78</a> else</pre></td>
511
523
  </tr>
512
524
 
513
525
 
514
526
 
515
527
  <tr class="marked">
516
- <td><pre><a name="line77">77</a> format.html { render :action =&gt; &quot;edit&quot; }</pre></td>
528
+ <td><pre><a name="line79">79</a> format.html { render :action =&gt; &quot;edit&quot; }</pre></td>
517
529
  </tr>
518
530
 
519
531
 
520
532
 
521
533
  <tr class="marked">
522
- <td><pre><a name="line78">78</a> format.xml { render :xml =&gt; @outcome.errors, :status =&gt; :unprocessable_entity }</pre></td>
534
+ <td><pre><a name="line80">80</a> format.xml { render :xml =&gt; @outcome.errors, :status =&gt; :unprocessable_entity }</pre></td>
523
535
  </tr>
524
536
 
525
537
 
526
538
 
527
539
  <tr class="inferred">
528
- <td><pre><a name="line79">79</a> end</pre></td>
540
+ <td><pre><a name="line81">81</a> end</pre></td>
529
541
  </tr>
530
542
 
531
543
 
532
544
 
533
545
  <tr class="inferred">
534
- <td><pre><a name="line80">80</a> end</pre></td>
546
+ <td><pre><a name="line82">82</a> end</pre></td>
535
547
  </tr>
536
548
 
537
549
 
538
550
 
539
551
  <tr class="inferred">
540
- <td><pre><a name="line81">81</a> end</pre></td>
552
+ <td><pre><a name="line83">83</a> end</pre></td>
541
553
  </tr>
542
554
 
543
555
 
544
556
 
545
557
  <tr class="inferred">
546
- <td><pre><a name="line82">82</a> </pre></td>
558
+ <td><pre><a name="line84">84</a> </pre></td>
547
559
  </tr>
548
560
 
549
561
 
550
562
 
551
563
  <tr class="inferred">
552
- <td><pre><a name="line83">83</a> # DELETE /outcomes/1</pre></td>
564
+ <td><pre><a name="line85">85</a> # DELETE /outcomes/1</pre></td>
553
565
  </tr>
554
566
 
555
567
 
556
568
 
557
569
  <tr class="inferred">
558
- <td><pre><a name="line84">84</a> # DELETE /outcomes/1.xml</pre></td>
570
+ <td><pre><a name="line86">86</a> # DELETE /outcomes/1.xml</pre></td>
559
571
  </tr>
560
572
 
561
573
 
562
574
 
563
575
  <tr class="marked">
564
- <td><pre><a name="line85">85</a> def destroy</pre></td>
576
+ <td><pre><a name="line87">87</a> def destroy</pre></td>
565
577
  </tr>
566
578
 
567
579
 
568
580
 
569
581
  <tr class="marked">
570
- <td><pre><a name="line86">86</a> @outcome = Outcome.find(params[:id])</pre></td>
582
+ <td><pre><a name="line88">88</a> @outcome = Outcome.find(params[:id])</pre></td>
571
583
  </tr>
572
584
 
573
585
 
574
586
 
575
587
  <tr class="marked">
576
- <td><pre><a name="line87">87</a> @outcome.destroy</pre></td>
588
+ <td><pre><a name="line89">89</a> @outcome.destroy</pre></td>
577
589
  </tr>
578
590
 
579
591
 
580
592
 
581
593
  <tr class="inferred">
582
- <td><pre><a name="line88">88</a> </pre></td>
594
+ <td><pre><a name="line90">90</a> </pre></td>
583
595
  </tr>
584
596
 
585
597
 
586
598
 
587
599
  <tr class="marked">
588
- <td><pre><a name="line89">89</a> respond_to do |format|</pre></td>
600
+ <td><pre><a name="line91">91</a> respond_to do |format|</pre></td>
589
601
  </tr>
590
602
 
591
603
 
592
604
 
593
605
  <tr class="marked">
594
- <td><pre><a name="line90">90</a> format.html { redirect_to(outcomes_url) }</pre></td>
606
+ <td><pre><a name="line92">92</a> format.html { redirect_to(outcomes_url) }</pre></td>
595
607
  </tr>
596
608
 
597
609
 
598
610
 
599
611
  <tr class="marked">
600
- <td><pre><a name="line91">91</a> format.xml { head :ok }</pre></td>
612
+ <td><pre><a name="line93">93</a> format.xml { head :ok }</pre></td>
601
613
  </tr>
602
614
 
603
615
 
604
616
 
605
617
  <tr class="marked">
606
- <td><pre><a name="line92">92</a> format.js</pre></td>
618
+ <td><pre><a name="line94">94</a> format.js</pre></td>
607
619
  </tr>
608
620
 
609
621
 
610
622
 
611
623
  <tr class="inferred">
612
- <td><pre><a name="line93">93</a> end</pre></td>
624
+ <td><pre><a name="line95">95</a> end</pre></td>
613
625
  </tr>
614
626
 
615
627
 
616
628
 
617
629
  <tr class="inferred">
618
- <td><pre><a name="line94">94</a> end</pre></td>
630
+ <td><pre><a name="line96">96</a> end</pre></td>
619
631
  </tr>
620
632
 
621
633
 
622
634
 
623
635
  <tr class="inferred">
624
- <td><pre><a name="line95">95</a> </pre></td>
636
+ <td><pre><a name="line97">97</a> </pre></td>
625
637
  </tr>
626
638
 
627
639
 
628
640
 
629
641
  <tr class="marked">
630
- <td><pre><a name="line96">96</a> def find_scenario</pre></td>
642
+ <td><pre><a name="line98">98</a> def find_scenario</pre></td>
631
643
  </tr>
632
644
 
633
645
 
634
646
 
635
647
  <tr class="marked">
636
- <td><pre><a name="line97">97</a> @scenario = Scenario.find(params[:scenario_id]) if @scenario.nil?</pre></td>
648
+ <td><pre><a name="line99">99</a> @scenario = Scenario.find(params[:scenario_id])</pre></td>
637
649
  </tr>
638
650
 
639
651
 
640
652
 
641
653
  <tr class="inferred">
642
- <td><pre><a name="line98">98</a> end</pre></td>
654
+ <td><pre><a name="line100">100</a> end</pre></td>
643
655
  </tr>
644
656
 
645
657
 
646
658
 
647
659
  <tr class="inferred">
648
- <td><pre><a name="line99">99</a> end</pre></td>
660
+ <td><pre><a name="line101">101</a> end</pre></td>
649
661
  </tr>
650
662
 
651
663
 
652
664
 
653
665
  <tr class="inferred">
654
- <td><pre><a name="line100">100</a> </pre></td>
666
+ <td><pre><a name="line102">102</a> </pre></td>
655
667
  </tr>
656
668
 
657
669
  </tbody>
658
670
  </table>
659
671
 
660
- <p>Generated on Thu Dec 03 16:49:24 +0000 2009 with <a href="http://github.com/relevance/rcov">rcov 0.9.6</a></p>
672
+ <p>Generated on Wed Dec 09 15:45:09 +0000 2009 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
661
673
 
662
674
  </body>
663
675
  </html>