I'm having some problems running the tests on Rails master branch.
1 - actionmailer: There are 6 errors of this kind: "NoMethodError:
undefined method `find_template' for AutoLayoutMailer:Class"
2 - actionpack: I can't run any test and I get this message: "no such
file to load -- rack". But I do have rack 1.0.0 and rack-test 0.5.0 and
they load with no errors on irb.
3 - activerecord:
mysql: 2 failing tests:
----------
2) Failure:
test_validate_uniqueness(UniquenessValidationTest)
[./test/cases/validations/uniqueness_validation_test.rb:54:in
`test_validate_uniqueness'
./test/cases/../../lib/../../activemodel/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in
`__send__'
./test/cases/../../lib/../../activemodel/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in
`run']:
Shouldn't be valid.
<false> is not true.
3) Failure:
test_validate_uniqueness_with_limit_and_utf8(UniquenessValidationTest)
[./test/cases/validations/uniqueness_validation_test.rb:247:in
`test_validate_uniqueness_with_limit_and_utf8'
./test/cases/../../lib/active_record/test_case.rb:57:in `with_kcode'
./test/cases/validations/uniqueness_validation_test.rb:242:in
`test_validate_uniqueness_with_limit_and_utf8'
./test/cases/../../lib/../../activemodel/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in
`__send__'
./test/cases/../../lib/../../activemodel/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in
`run']:
Created an event whose title, with limit taken into account, is not unique.
<false> is not true.
----------
Ruby version is 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] (from
Debian repository)
I'm also curious. In railties, 'rake -T' doesn't tell us that there is a
'test' target, although it is there. What is the reason?
Also, what is the regular_test task in railties? I can never get it to
run: "/home/rodrigo/src/git/rails/railties/lib/initializer.rb:17: It
looks like initializer.rb was required twice (RuntimeError)"
Thanks in advance,
Rodrigo.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---