hi,
just upgrading to 2.3.2 and getting same, did you resolve this at all?
Tonypm
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to
Ok, so
Rails Guide http://guides.rubyonrails.org/testing.html
para 3.5 says it exists - I guess the guide needs amending?
It was deprecated at 2.2.2
- assert_valid is deprecated. Use assert record.valid? instead
see
http://github.com/rails/rails/commit/d4754677a34d34d4a0955a04f2cc6571bdc5e82d
Having the same problem here. But still didn't find any solution.
On Apr 7, 11:34 am, Constantin Gavrilescu
comisarulmoldo...@gmail.com wrote:
def test_valid
assert_valid State.first
end
Error:
test_valid(StateTest):
NoMethodError: undefined method `assert_valid' for
3 matches
Mail list logo