Commit Graph

1019 Commits (a6a46306b14c89b94d5630291cfda7bfd17df319)

Author SHA1 Message Date
Philipp Tessenow fbfc117a60 do not test for :project in the top_menu data structure. the :project item will be generated later 12 years ago
Philipp Tessenow d4ea51cac2 convert ProjectHelper tests to specs 12 years ago
Philipp Tessenow cf90037890 fix TimelogHelperTests 12 years ago
Philipp Tessenow 647ad0c5da super (wink wink) code changes for test unit tests (which didnt call super in setup) 12 years ago
Martin Linkhorst c442ecb7d9 remove gantt from core (take the commit as a guide on how to bring it back as a plugin) 12 years ago
Philipp Tessenow 50c8b15777 allo submit_email to override fixed_version in mail_handler_test 12 years ago
Philipp Tessenow ac3c9b682e update journal use in issue_test 12 years ago
Philipp Tessenow 5fee3b1cf9 refactored ApplicationHelperTest a little 12 years ago
Philipp Tessenow 040fe27bbf fix: invalid members appeared in project during custom_field_user_format_test. UserFactory might have a bug with create_list and member_in_project param. 12 years ago
Philipp Tessenow 2319f3d40a syntax error 12 years ago
Philipp Tessenow 72c97e4673 adapt some tests to new layout 12 years ago
Philipp Tessenow 9a439072e8 render_detail needs an option hash now 12 years ago
Philipp Tessenow 66139c2f95 refactored application_helper test to be more robust with wiki pages 12 years ago
Philipp Tessenow e460fb60ba set html-class 'new' only for actually new wiki pages 12 years ago
Philipp Tessenow 360369fbc8 refactor a single test in issue_test.rb to use FactoryGirl 12 years ago
Philipp Tessenow 8ec06df04c refactor timelog_helper_test 12 years ago
Philipp Tessenow 1a29a1ce99 refactor member_tests 12 years ago
Philipp Tessenow 32360b6e63 refactor projects_helper_test to use FactoryGirl 12 years ago
Philipp Tessenow 810bbd4600 create new Issues instead of relying on Issue.last in issue_helper_test 12 years ago
Philipp Tessenow 64a87dc858 let test_helper generate at least one issue and the anonymous User as some test require them to exist 12 years ago
Philipp Tessenow 34d1f507d7 forgot to rename association 12 years ago
Philipp Tessenow e3fa434f1f naming the ignored variable in user_factory 'project' and 'role' produced a major performance loss. fixed that 12 years ago
Philipp Tessenow 7ff326ba1d refactor tests to use advanced user factory 12 years ago
Philipp Tessenow 95f1fc466e fix comment_test - user has to be a member of the project 12 years ago
Philipp Tessenow 71f8cf1cbe implement deferred tests for application_helper_tests 12 years ago
Philipp Tessenow fa0b3187bc refactor application_helper_tests to use factory girl 12 years ago
Martin Linkhorst 4bcc70abc6 commit 252fb10 introduced a new validation to the Watcher class which obviously broke most Watcher unit tests… now the test user actually is allowed to watch the test issue. if you want to test with different preconditions either delete all Members (see last test) or create a new test user and issue 12 years ago
Martin Linkhorst d03301b60e there are so many side effects by using only a subset of the fixtures and also it creates lots of annoying noise in the test code. this commit changes individual requires to :all which fixes some tests when test files are run individually or in a different order. 12 years ago
Martin Linkhorst 962ab95ecb gantt needs fixtures 12 years ago
Martin Linkhorst 8347c34751 fix more tests by using all fixtures 12 years ago
Martin Linkhorst 3ae5b2fac7 fix repository tests 12 years ago
Martin Linkhorst a3675092c8 fix role tests 12 years ago
Martin Linkhorst 669d7390dd refactored watcher tests 12 years ago
Philipp Tessenow 4337cf0b40 use FactoryGirl in enabled_modules test 12 years ago
Philipp Tessenow 8edf5b5df0 make document_tests pass 12 years ago
Philipp Tessenow 9f5aaa06e6 remove fixtures and use FactoryGirl in document_category_test 12 years ago
Philipp Tessenow 6bbeccb24f remove fixtures and use factory_girl in custom_value_test 12 years ago
Philipp Tessenow bda05f1320 no more fixtures in custom_field_user_format_test 12 years ago
Martin Linkhorst 1afcc81f93 make sure the enumerations tests pass when called directly through the ruby executable 12 years ago
Martin Linkhorst ab81d9798e spec against an admin user to bypass permissions 12 years ago
Martin Linkhorst a016703c56 make the error message explicit 12 years ago
Martin Linkhorst fd3fb42518 in order to have these tests to always pass, we need to make sure the database is clean before each test run (this actually should be done for every test, but hey…) 12 years ago
Martin Linkhorst 0c5c1ecb8c fix a test that i broke a couple of commits ago 12 years ago
Martin Linkhorst 5dc3cb2240 the default sort order in the gem version of awesome_nested_set is called :order_column. also fix a test that didn't expect the children to be sorted by name, now it does... 12 years ago
Martin Linkhorst 2a8f9ab4b7 the wiki menu item got removed from the main menu when wiki_menu_items was developed 12 years ago
Martin Linkhorst dd9515d745 remove cvs scm from openproject core 12 years ago
Martin Linkhorst 96dacf3150 remove bazaar scm from openproject core 12 years ago
Martin Linkhorst 2ff10f4c54 remove mercurial scm from openproject core 12 years ago
Martin Linkhorst 4b53920965 remove darcs scm from openproject core 12 years ago
Martin Linkhorst 439a1928b1 fix a test by asserting the correct (non-french!) value 12 years ago