Displaying 2 results from an estimated 2 matches for "assert_valid_markup".
2006 Jul 02
5
"the number of parameters does not match the number of substitutions" error
...@controller = AccountController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
def test_index
get :index
assert_redirected_to :action => ''login'' # LINE 16
end
def test_login
get :login
assert_valid_markup
end
end
Any ideas?
Thanks,
Joe
2006 Mar 15
0
Rails Plugin to Validate (X)HTML and CSS
Hi,
I just released an enhanced version of Scott Raymond''s
assert_valid_markup plugin that I have been using. Basically it allows
you to validate (X)HTML or CSS files generated by application during
testing.
I have described the basics of it at;
http://www.realityforge.org/articles/2006/03/15/rails-plugin-to-validate-x-html-and-css
or you can grab it from subversion at
ht...