[DRE-commits] r4833 - trunk/redmine/debian
Jérémy Lal
kapouer-guest at alioth.debian.org
Sun Feb 28 15:44:05 UTC 2010
Author: kapouer-guest
Date: 2010-02-28 15:44:04 +0000 (Sun, 28 Feb 2010)
New Revision: 4833
Modified:
trunk/redmine/debian/README.source
Log:
Update on how to run rake test and expected failures.
Modified: trunk/redmine/debian/README.source
===================================================================
--- trunk/redmine/debian/README.source 2010-02-27 19:58:56 UTC (rev 4832)
+++ trunk/redmine/debian/README.source 2010-02-28 15:44:04 UTC (rev 4833)
@@ -11,13 +11,14 @@
2. edit /etc/redmine/test/database.yml, copy 'production' section and rename it 'test'
3. in /usr/share/redmine, run :
sudo -u www-data X_DEBIAN_SITEID=test RAILS_ENV=test rake test
-Install missing gems (e.g. thoughtbot-shoulda, nofxx-object_daddy) using gem install xxx
+Install missing gems (e.g. thoughtbot-shoulda, edavis10-object_daddy) using gem install xxx
Notice : there are debian packages available for libshoulda-ruby and libmocha-ruby.
To run tests with repositories, they must be uncompressed and put in the right place.
4. These are rails 2.2 failures. It is not clear (to me) wether the fix should be backported from rails 2.3,
or the failure simply ignored since they could be considered minor failures.
- 1) Failure:
+ 1) This one is a rails 2.2 bug
+Failure:
test_login_and_logout_should_clear_session(AccountTest)
[./test/integration/account_test.rb:191:in `test_login_and_logout_should_clear_session'
/usr/share/redmine/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:94:in `__send__'
@@ -27,7 +28,8 @@
<nil> expected to be != to
<nil>.
- 2) Failure:
+ 2) This one is a false positive, since the redirection makes sense.
+Failure:
test_Add_a_user_as_an_anonymous_user_should_fail(AdminTest)
[./test/integration/admin_test.rb:47:in `test_Add_a_user_as_an_anonymous_user_should_fail'
/usr/share/redmine/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:94:in `__send__'
More information about the Pkg-ruby-extras-commits
mailing list