[DRE-commits] [SCM] redmine.git branch, master, updated. debian/1.3.0+dfsg1-2-8-g5d3651a
Jérémy Lal
kapouer at melix.org
Sat Feb 11 14:25:15 UTC 2012
The following commit has been merged in the master branch:
commit 5d3651a3dc344f22e75781ca39616a6625c4b747
Author: Jérémy Lal <kapouer at melix.org>
Date: Sat Feb 11 15:24:47 2012 +0100
Update informations in debian/README.source about how to run tests.
diff --git a/debian/README.source b/debian/README.source
index ea39483..43d67c6 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -3,19 +3,20 @@ RAKE TEST
1. dpkg-reconfigure redmine, add a "test" sqlite3 instance
-2. edit /etc/redmine/test/database.yml, copy 'production' section and rename it 'test' (not needed with redmine 1.2.0
- configuration.yml which has the default section)
- some dependencies are not found even when installed : edit /usr/share/redmine/config/environments/test.rb and comment "mocha"
-
-3. Install debian packages available for libshoulda-ruby and libmocha-ruby.
- Depending on the redmine version, shoulda must be installed by :
- gem intall shoulda -v <required shoulda version>
- Take care to remove the shoulda gem if desired.
+2. edit /etc/redmine/test/database.yml, copy 'production' section and rename it 'test' (not needed with redmine 1.2.0 configuration.yml which has the default section ?)
+
+3. install package dependencies : ruby-mocha
+ The version of ruby-shoulda (3) is not compatible with redmine test suite,
+ which uses version 2.10.3. Note that having ruby-shoulda installed might prevent redmine from using the gem-installed copy (if you get errors like undefined method `should...).
+
+4. install gem dependencies :
+ gem install edavis10-object_daddy
+ gem install shoulda -v 2.10.3 --no-ri --no-rdoc
-4.
+5. run tests :
cd /usr/share/redmine
mkdir -p tmp/test
X_DEBIAN_SITEID=test RAILS_ENV=test rake test:scm:setup:all
X_DEBIAN_SITEID=test RAILS_ENV=test rake test
-5. READ doc/RUNNING_TESTS in redmine source package to get more informations.
+ READ doc/RUNNING_TESTS in redmine source package to get more informations.
--
redmine.git
More information about the Pkg-ruby-extras-commits
mailing list