Displaying 2 results from an estimated 2 matches for "layout_test".
2006 Jul 02
5
"the number of parameters does not match the number of substitutions" error
All of a sudden, I''m getting this error:
1) Error:
test_index(AccountControllerTest):
RuntimeError: The number of parameters does not match the number of
substitutions.
/home/joe/projects/tanga/trunk/config/../vendor/rails/actionpack/lib/action_controller/assertions.rb:92:in
`assert_redirected_to''
2007 Jul 06
3
stubbing helper methods for View specs
...or/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/
view.rb:51:in `render''
spec/views/users/show_haml_spec.rb:23
...
Interestingly, when I misspell the name of the stub in the working
example, I get the following error:
1)
ActionView::TemplateError in ''/shared/layout_test not logged in
should have the correct head information''
undefined method `logged_in?'' for #<ActionView::Base:0x22ec6f8>
On line #13 of app/views/layouts/thetool.haml
app/views//layouts/thetool.haml:13
app/helpers/application_helper.rb:5:in `login_logout''...