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