Toshi MARUYAMA
963719042a
ignore X-Autoreply mails ( #15999 , #13425 )
...
Contributed by Karel Pičman.
git-svn-id: http://svn.redmine.org/redmine/trunk@13738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-12 04:58:31 +00:00
Jean-Philippe Lang
0b1b46ae2c
Revert r13736, test fails with mysql.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-11 21:12:06 +00:00
Jean-Philippe Lang
7bc3cf94cb
Adds a test for search with limited results.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-11 20:18:30 +00:00
Jean-Philippe Lang
d4ebbe5ba8
Adds some helpers tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-11 17:58:08 +00:00
Jean-Philippe Lang
fcf9cf7bb1
Misc tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-08 17:31:48 +00:00
Jean-Philippe Lang
95810125bf
Don't create a journal when creating an issue with attachments.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-08 17:30:47 +00:00
Jean-Philippe Lang
2462a8581d
Don't create a journal when creating an issue.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-08 17:18:28 +00:00
Jean-Philippe Lang
ee173b64b8
Misc tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-07 21:32:14 +00:00
Toshi MARUYAMA
b66e68dc82
fix ProjectNestedSetTest fails randomly
...
<pre>
1) Error:
ProjectNestedSetTest#test_adding_a_root_to_first_position_should_update_nested_set_order:
ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid
test/unit/project_nested_set_test.rb:27:in `setup'
</pre>
You can reproduce with following change.
<pre>
class ProjectNestedSetTest < ActiveSupport::TestCase
+ fixtures :trackers
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@13730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-07 04:36:47 +00:00
Jean-Philippe Lang
a8e3759458
Adds tests for Role#has_permissions?
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 13:16:43 +00:00
Jean-Philippe Lang
43b3455111
Adds a test for Watcher.prune with :project option.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 13:09:48 +00:00
Jean-Philippe Lang
9c173375c6
Adds a test for #18584 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 11:19:54 +00:00
Jean-Philippe Lang
ca71cf3800
Adds methods for loading and adding settings.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 15:00:27 +00:00
Jean-Philippe Lang
c084ef509f
Adds a few functional tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:38:48 +00:00
Jean-Philippe Lang
0cfbf9d449
Make sure that Redmine::Thumbnail.generate is called.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:22:35 +00:00
Jean-Philippe Lang
7c1445f19a
Tab "New Issue" should not be displayed if a project has no trackers ( #18571 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:17:20 +00:00
Jean-Philippe Lang
8323bc98f5
Adds tests for searching private or archived projects.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:48:29 +00:00
Jean-Philippe Lang
56edfcf6e9
Adds some Attachment tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:35:00 +00:00
Jean-Philippe Lang
89da75623d
Adds a test for invalid enumeration class parameter.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:18:14 +00:00
Jean-Philippe Lang
c7653df32b
Adds tests for invalid parameters.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:16:29 +00:00
Jean-Philippe Lang
50b12518a1
Adds a test for when link_copied_issue setting is set to "never".
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:10:33 +00:00
Jean-Philippe Lang
a942c1c25e
Removed unimplemented JournalsController#edit html response and added some tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:08:00 +00:00
Jean-Philippe Lang
5222650d95
Adds a few tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-03 20:21:03 +00:00
Jean-Philippe Lang
c3ba302f0d
Use simplecov for code coverage, rcov does not support ruby>=1.9.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-02 19:59:38 +00:00
Jean-Philippe Lang
430c8fd904
Set notified events as expected.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 20:44:29 +00:00
Jean-Philippe Lang
f1308e64af
Removed unneeded patch in tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 16:16:12 +00:00
Jean-Philippe Lang
8e84b1a48f
Moved helpers for integration tests in a specific class.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 15:16:43 +00:00
Jean-Philippe Lang
d22029083c
Pull up #setup and #teardown in API tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 15:10:56 +00:00
Jean-Philippe Lang
78e6717ba7
Test cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 15:02:47 +00:00
Jean-Philippe Lang
ef5ff1630a
Textile: ignore invalid lang attribute values ( #18501 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 14:55:03 +00:00
Jean-Philippe Lang
f04148695a
Drop shoulda.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 14:31:53 +00:00
Jean-Philippe Lang
372b24627b
Test API authentification once.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 14:11:56 +00:00
Jean-Philippe Lang
e7518a9e0c
Remove contexts in QueryTest.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 13:41:34 +00:00
Jean-Philippe Lang
dacae57a38
Gantt unit tests cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 13:28:53 +00:00
Toshi MARUYAMA
5492062557
add missing fixtures to test/functional/projects_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 00:17:20 +00:00
Jean-Philippe Lang
6f3ab71f3f
Localisation not set correctly on authenticity token errors ( #18499 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 15:16:59 +00:00
Jean-Philippe Lang
30d65829b8
Configurable behavour for linking issues on copy ( #18500 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 15:10:59 +00:00
Jean-Philippe Lang
288c014aa7
Edit attachments after upload ( #1326 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 13:41:53 +00:00
Jean-Philippe Lang
4d2688e7a8
Group filters in the filter select list ( #13849 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 09:31:56 +00:00
Jean-Philippe Lang
86d8acb344
Fixed "First argument in form cannot contain nil or be empty" error ( #18275 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 07:59:54 +00:00
Jean-Philippe Lang
552926772a
Error raised on project settings after project wiki is deleted ( #18429 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 07:43:22 +00:00
Toshi MARUYAMA
a199c06899
use English at integration IssuesTest#test_issue_with_user_custom_field
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-25 11:22:23 +00:00
Jean-Philippe Lang
ee8e7a4e33
Added missing tests for notify_about?
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-24 21:08:03 +00:00
Jean-Philippe Lang
8127b2b4bd
Removed some test contexts.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-24 20:56:59 +00:00
Jean-Philippe Lang
aa9e142765
Fixed tests broken by r13646.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 21:07:44 +00:00
Jean-Philippe Lang
1316f6b491
Removed some test contexts.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 20:39:16 +00:00
Jean-Philippe Lang
4989c9f6a8
Removed some test contexts.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 20:25:46 +00:00
Jean-Philippe Lang
e0a034164f
Move wiki page to other project ( #5450 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 13:36:01 +00:00
Jean-Philippe Lang
827ab38725
Selected projects in email notifications on "my account" are lost when the page is redisplayed after a validation error ( #18060 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 10:56:59 +00:00
Jean-Philippe Lang
f3e573b5f8
Replaced remaining #assert_tag with #assert_select.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 09:38:21 +00:00