secret
Last active

RSpec raising ActionView::Template::Error but browser serves the page perfectly

  • Download Gist
_post_excerpt.html.erb
HTML+ERB
1 2 3 4 5 6 7 8
<article class="<%= klass %>">
<h2><%= link_to post.name, post_path(post) %></h2>
<footer>By <%= link_to post.author.name, author_path(post.author) %></footer>
<hr />
<div class="content">
<%= post.excerpt %>
</div><!-- end content -->
</article>
application_helper.rb
Ruby
1 2 3
def post_excerpt(post, options = { :class => "" })
render "posts/post_excerpt", :post => post, :klass => options[:class]
end
rspec spec_controllers_sections_controller_spec.rb --backtrace
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321
1) SectionsController GET 'show' should be successful
Failure/Error: get :show, :section => @section.slug
ActionView::Template::Error
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/whiny_nil.rb:48:in `method_missing'
 # ./app/views/posts/_post_excerpt.html.erb:2:in `_app_views_posts__post_excerpt_html_erb___3741551867788319987_2172912000__2445779140927858396'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:333:in `render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:262:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:260:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:378:in `_render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:31:in `render'
 # ./app/helpers/application_helper.rb:22:in `post_excerpt'
 # ./app/views/sections/_popular.html.erb:3:in `_app_views_sections__popular_html_erb__2926390554968092475_2173010220__319279687515409228'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:333:in `render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:262:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:260:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:378:in `_render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:31:in `render'
 # ./app/views/sections/show.html.erb:5:in `_app_views_sections_show_html_erb___3477675240289677269_2173064480__2891487320734583789'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:59:in `block in _render_template'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:56:in `_render_template'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:26:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:114:in `_render_template'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:108:in `render_to_body'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:101:in `render_to_string'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:92:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:17:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
 # /Users/Max/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activerecord-3.0.3/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:11:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:440:in `_run__1563333293836063782__process_action__328172530285977438__callbacks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:93:in `run_callbacks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:120:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:40:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/testing.rb:12:in `process_with_new_base_test'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/test_case.rb:412:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/test_case.rb:47:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/test_case.rb:350:in `get'
 # ./spec/controllers/sections_controller_spec.rb:15:in `block (3 levels) in <top (required)>'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:49:in `instance_eval'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:49:in `block (2 levels) in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:98:in `with_around_hooks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:46:in `block in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:91:in `block in with_pending_capture'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:90:in `catch'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:90:in `with_pending_capture'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:45:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:261:in `block in run_examples'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:257:in `map'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:257:in `run_examples'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:231:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:232:in `block in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:232:in `map'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:232:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:27:in `block (2 levels) in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:27:in `map'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:27:in `block in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/reporter.rb:12:in `report'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:24:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:55:in `run_in_process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:46:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:10:in `block in autorun'
 
 1/3: 33% |============= | ETA: 00:00:00

2) SectionsController GET 'show' should have the right title
Failure/Error: get :show, :section => @section.slug
ActionView::Template::Error
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/whiny_nil.rb:48:in `method_missing'
 # ./app/views/posts/_post_excerpt.html.erb:2:in `_app_views_posts__post_excerpt_html_erb___3741551867788319987_2172912000__2445779140927858396'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:333:in `render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:262:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:260:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:378:in `_render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:31:in `render'
 # ./app/helpers/application_helper.rb:22:in `post_excerpt'
 # ./app/views/sections/_popular.html.erb:3:in `_app_views_sections__popular_html_erb__2926390554968092475_2173010220__319279687515409228'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:333:in `render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:262:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:260:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:378:in `_render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:31:in `render'
 # ./app/views/sections/show.html.erb:5:in `_app_views_sections_show_html_erb___3477675240289677269_2173064480__2891487320734583789'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:59:in `block in _render_template'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:56:in `_render_template'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:26:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:114:in `_render_template'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:108:in `render_to_body'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:101:in `render_to_string'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:92:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:17:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
 # /Users/Max/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activerecord-3.0.3/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:11:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:440:in `_run__1563333293836063782__process_action__328172530285977438__callbacks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:93:in `run_callbacks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:120:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:40:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/testing.rb:12:in `process_with_new_base_test'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/test_case.rb:412:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/test_case.rb:47:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/test_case.rb:350:in `get'
 # ./spec/controllers/sections_controller_spec.rb:20:in `block (3 levels) in <top (required)>'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:49:in `instance_eval'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:49:in `block (2 levels) in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:98:in `with_around_hooks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:46:in `block in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:91:in `block in with_pending_capture'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:90:in `catch'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:90:in `with_pending_capture'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:45:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:261:in `block in run_examples'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:257:in `map'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:257:in `run_examples'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:231:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:232:in `block in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:232:in `map'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:232:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:27:in `block (2 levels) in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:27:in `map'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:27:in `block in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/reporter.rb:12:in `report'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:24:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:55:in `run_in_process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:46:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:10:in `block in autorun'
 
 2/3: 66% |=========================== | ETA: 00:00:00

3) SectionsController GET 'show' should find the right section
Failure/Error: get :show, :section => @section.slug
ActionView::Template::Error
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/whiny_nil.rb:48:in `method_missing'
 # ./app/views/posts/_post_excerpt.html.erb:2:in `_app_views_posts__post_excerpt_html_erb___3741551867788319987_2172912000__2445779140927858396'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:333:in `render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:262:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:260:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:378:in `_render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:31:in `render'
 # ./app/helpers/application_helper.rb:22:in `post_excerpt'
 # ./app/views/sections/_popular.html.erb:3:in `_app_views_sections__popular_html_erb__2926390554968092475_2173010220__319279687515409228'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:333:in `render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:262:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:260:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:378:in `_render_partial'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:31:in `render'
 # ./app/views/sections/show.html.erb:5:in `_app_views_sections_show_html_erb___3477675240289677269_2173064480__2891487320734583789'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:59:in `block in _render_template'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:56:in `_render_template'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:26:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:114:in `_render_template'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:108:in `render_to_body'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:101:in `render_to_string'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:92:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:17:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
 # /Users/Max/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activerecord-3.0.3/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:11:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:440:in `_run__1563333293836063782__process_action__328172530285977438__callbacks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:93:in `run_callbacks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:120:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:40:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/metal/testing.rb:12:in `process_with_new_base_test'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/test_case.rb:412:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/test_case.rb:47:in `process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_controller/test_case.rb:350:in `get'
 # ./spec/controllers/sections_controller_spec.rb:25:in `block (3 levels) in <top (required)>'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:49:in `instance_eval'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:49:in `block (2 levels) in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:98:in `with_around_hooks'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:46:in `block in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:91:in `block in with_pending_capture'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:90:in `catch'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:90:in `with_pending_capture'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example.rb:45:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:261:in `block in run_examples'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:257:in `map'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:257:in `run_examples'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:231:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:232:in `block in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:232:in `map'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:232:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:27:in `block (2 levels) in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:27:in `map'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:27:in `block in run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/reporter.rb:12:in `report'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/command_line.rb:24:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:55:in `run_in_process'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:46:in `run'
 # /Users/Max/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.4.0/lib/rspec/core/runner.rb:10:in `block in autorun'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.