summaryrefslogtreecommitdiffstats
path: root/test/functional
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that project copy triggers a 500 error if project validation fails.Jean-Philippe Lang2015-01-071-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Subclasses may not be loaded when running the test.Jean-Philippe Lang2014-12-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13782 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced "can't" with "cannot" in error messages.Jean-Philippe Lang2014-12-2110-19/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use DOM assertion instead.Jean-Philippe Lang2014-12-211-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13779 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed that quote in a fixture subject.Jean-Philippe Lang2014-12-202-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to SearchControllerTestToshi MARUYAMA2014-12-131-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13751 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Droped legacy behaviour that allows a user to edit a few attributes of an ↵Jean-Philippe Lang2014-12-131-62/+0
| | | | | | | | issue without the edit_issues permission if a status transition is allowed (#15988). Now that we can control permission on each field, this behaviour is no longer needed. The edit_issues permission is now required, which is consistent with the current requirements for bulk edition. git-svn-id: http://svn.redmine.org/redmine/trunk@13746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Misc tests.Jean-Philippe Lang2014-12-131-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for editing a registered user.Jean-Philippe Lang2014-12-121-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13742 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rewrites search engine to properly paginate results (#18631).Jean-Philippe Lang2014-12-121-13/+17
| | | | | | Instead of counting and retrieving results based on their timestamps, we now load all result ids then load the appropriate results by their ids. This also brings a 2x performance improvement as we search tokens in one of the 2 queries only. git-svn-id: http://svn.redmine.org/redmine/trunk@13739 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r13736, test fails with mysql.Jean-Philippe Lang2014-12-111-9/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13737 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for search with limited results.Jean-Philippe Lang2014-12-111-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't create a journal when creating an issue with attachments.Jean-Philippe Lang2014-12-081-3/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13733 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't create a journal when creating an issue.Jean-Philippe Lang2014-12-081-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13732 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds methods for loading and adding settings.Jean-Philippe Lang2014-12-051-4/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13719 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a few functional tests.Jean-Philippe Lang2014-12-053-0/+22
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tab "New Issue" should not be displayed if a project has no trackers (#18571).Jean-Philippe Lang2014-12-051-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13713 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tests for searching private or archived projects.Jean-Philippe Lang2014-12-051-0/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tests for invalid parameters.Jean-Philippe Lang2014-12-051-0/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13707 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for when link_copied_issue setting is set to "never".Jean-Philippe Lang2014-12-051-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unimplemented JournalsController#edit html response and added some ↵Jean-Philippe Lang2014-12-051-0/+14
| | | | | | tests. git-svn-id: http://svn.redmine.org/redmine/trunk@13704 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a few tests.Jean-Philippe Lang2014-12-035-3/+50
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set notified events as expected.Jean-Philippe Lang2014-11-301-85/+95
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13683 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to test/functional/projects_controller_test.rbToshi MARUYAMA2014-11-301-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13671 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Configurable behavour for linking issues on copy (#18500).Jean-Philippe Lang2014-11-291-35/+46
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13668 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Edit attachments after upload (#1326).Jean-Philippe Lang2014-11-291-0/+58
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed "First argument in form cannot contain nil or be empty" error (#18275).Jean-Philippe Lang2014-11-281-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13661 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Error raised on project settings after project wiki is deleted (#18429).Jean-Philippe Lang2014-11-281-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13660 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move wiki page to other project (#5450).Jean-Philippe Lang2014-11-231-0/+33
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced remaining #assert_tag with #assert_select.Jean-Philippe Lang2014-11-2231-491/+273
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13624 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced some #assert_tag with #assert_select.Jean-Philippe Lang2014-11-208-62/+41
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13620 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Quote values in DOM selectors for Nokogiri compatibility.Jean-Philippe Lang2014-11-2019-120/+120
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed deep nested time entries routes.Jean-Philippe Lang2014-11-161-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13609 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved new group user to its own action GroupsController#new_users.Jean-Philippe Lang2014-11-161-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13602 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved new project member to its own action MemberController#new.Jean-Philippe Lang2014-11-151-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13600 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed 500 error when displaying a news with comments in reverse order (#18332).Jean-Philippe Lang2014-11-141-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to test/functional/wiki_controller_test.rbToshi MARUYAMA2014-11-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests fail randomly. <pre> 1) Error: WikiControllerTest#test_show_with_sidebar: ActionView::Template::Error: undefined method `name' for nil:NilClass app/helpers/application_helper.rb:797:in `block in parse_redmine_links' app/helpers/application_helper.rb:757:in `gsub!' app/helpers/application_helper.rb:757:in `parse_redmine_links' app/helpers/application_helper.rb:601:in `block (2 levels) in textilizable' app/helpers/application_helper.rb:600:in `each' app/helpers/application_helper.rb:600:in `block in textilizable' app/helpers/application_helper.rb:621:in `parse_non_pre_blocks' app/helpers/application_helper.rb:599:in `textilizable' app/views/wiki/_content.html.erb:2:in `_app_views_wiki__content_html_erb___3773333740575742579_33736820' app/views/wiki/show.html.erb:44:in `_app_views_wiki_show_html_erb__965327089377623997_33504680' app/controllers/wiki_controller.rb:97:in `show' test/functional/wiki_controller_test.rb:119:in `test_show_with_sidebar' </pre> It can be reproduced by following change. <pre> class WikiControllerTest < ActionController::TestCase fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, :wikis, :wiki_pages, :wiki_contents, - :wiki_content_versions, :attachments + :wiki_content_versions, :attachments, + :issues #, :issue_statuses </pre> git-svn-id: http://svn.redmine.org/redmine/trunk@13590 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a role setting for controlling visibility of users: all or members of ↵Jean-Philippe Lang2014-11-112-6/+24
| | | | | | visible projects (#11724). git-svn-id: http://svn.redmine.org/redmine/trunk@13584 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for default issue columns order (#18310).Jean-Philippe Lang2014-11-111-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13583 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed duplicate test names (#18306).Jean-Philippe Lang2014-11-081-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13575 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove duplicated IssuesControllerTest#test_new_should_select_default_status ↵Toshi MARUYAMA2014-11-081-12/+0
| | | | | | (#5991, #18305) git-svn-id: http://svn.redmine.org/redmine/trunk@13570 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Time entries CSV export should include the tracker and subject of the issue ↵Jean-Philippe Lang2014-11-051-0/+10
| | | | | | (#18269). git-svn-id: http://svn.redmine.org/redmine/trunk@13562 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo.Jean-Philippe Lang2014-11-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13561 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that parent column should not include issue subject (#13673).Jean-Philippe Lang2014-11-041-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13556 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed CSV content for parent issue column (#13608).Jean-Philippe Lang2014-11-041-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13555 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to test/functional/custom_fields_controller_test.rbToshi MARUYAMA2014-11-031-1/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13550 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixture to test/functional/issue_statuses_controller_test.rbToshi MARUYAMA2014-11-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13549 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default status per tracker (#5991).Jean-Philippe Lang2014-11-023-13/+70
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to CalendarsControllerTestToshi MARUYAMA2014-10-241-1/+6
| | | | | | | | | | | | | | | | | | Tests fail randomly. <pre> 1) Error: CalendarsControllerTest#test_cross_project_calendar: ActionView::Template::Error: undefined method `name' for nil:NilClass app/helpers/issues_helper.rb:57:in `render_issue_tooltip' app/views/common/_calendar.html.erb:17:in `block in _app_views_common__calendar_html_erb__4084073314711523042_57686480' app/views/common/_calendar.html.erb:12:in `each' app/views/common/_calendar.html.erb:12:in `_app_views_common__calendar_html_erb__4084073314711523042_57686480' app/views/calendars/show.html.erb:30:in `_app_views_calendars_show_html_erb___1639405444546230501_53808060' test/functional/calendars_controller_test.rb:44:in `test_cross_project_calendar' </pre> git-svn-id: http://svn.redmine.org/redmine/trunk@13503 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a single controller for users and groups memberships and support for ↵Jean-Philippe Lang2014-10-233-130/+209
| | | | | | adding multiple projects at once (#11702). git-svn-id: http://svn.redmine.org/redmine/trunk@13498 e93f8b46-1217-0410-a6f0-8f06a7374b81