[rspec-users] [RSpec] Cannot save or be_valid when using xss_terminate
lists at ruby-forum.com
Mon Feb 2 12:07:05 EST 2009
> I rspec models that use xss_terminate with no problem. I have not see
> the error you're getting.
Thanks. Knowing that it is possible to spec models that use
xss_terminate I was able to figure out that in one of my attributes I
was passing a Time object, so simply converting it to a string with to_s
fixed the issue.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users