[rspec-users] undefined method `white_list_sanitizer'

Matt McNeil nabble at mattmcneil.org
Tue Nov 18 12:36:02 EST 2008


Hi there,
After upgrading to the latest Rails RC (2.2.0) and rspec 1.1.11, I'm getting
the following error in my specs (but not in the application itself):

NoMethodError in 'ApplicationHelper#truncate_text truncates text to 270
characters'
undefined method `white_list_sanitizer' for
Spec::Rails::Example::HelperExampleGroup::Subclass_2::Subclass_3:Class
app/helpers/application_helper.rb:35:in `h'
app/helpers/application_helper.rb:39:in `truncate_text'
spec/helpers/application_helper_spec.rb:40:
spec/helpers/discussions_helper_spec.rb:6:

Any ideas what may have changed/what's needed to fix this?

Thanks much,
Matt
-- 
View this message in context: http://www.nabble.com/undefined-method-%60white_list_sanitizer%27-tp20564496p20564496.html
Sent from the rspec-users mailing list archive at Nabble.com.



More information about the rspec-users mailing list