Commit Graph

1221 Commits (885e2fe43b4f815e1a3777a85ed0c779c992d2a5)

Author SHA1 Message Date
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
Martin Linkhorst b65bbe6ddd slightly switch stuff around to make sure emails are actually sent. before journal.initial? returned true but it needs to false in order to have emails be sent. somebody hopefully knows why :) 12 years ago
Martin Linkhorst ffe37745c9 fix issue_category tests and migrate to factories 12 years ago
Philipp Tessenow 92d034fabc do not use fixtures in group_test; make tests shorter with setup 12 years ago
Philipp Tessenow f3fd1900b7 do not use fixtures in enumeration_test anymore 12 years ago
Philipp Tessenow 8e3dec6dad refactor default_data_test to not depend on fixtures or any other preloaded data 12 years ago
Martin Linkhorst 84155685e5 fix a failing tests that depended on the correct fixtures #2 12 years ago
Martin Linkhorst d4143848ed fix a failing tests that depended on the correct fixtures 12 years ago
Philipp Tessenow 2957d72179 refactor journal_observer_test to use FactoryGirl and make it pass 12 years ago
Philipp Tessenow d41dcd02e6 now every issue created by FactoryGirl is valid. The valid_issue generator was removed 12 years ago
Philipp Tessenow fb8150325c fix comment test 12 years ago
Philipp Tessenow 35f8e7d476 fix Redmine:SafeAttributes and their tests 12 years ago
Martin Linkhorst 9afb247beb deprecation: require 'mocha/setup' instead of just 'mocha' 12 years ago
Philipp Tessenow fe73816b71 group_test partially use FactoryGirl now. No more failing group specs because of broken fixtures. 12 years ago
Philipp Tessenow 1e5d56690f make watcher-test(test_watcher_user_ids_should_make_ids_uniq) use factories. fix validation issue through saving the issue first and then adding a watcher 12 years ago
Philipp Tessenow 184d761399 make watcher-test(test_watcher_users_should_not_validate_user) use factories. fix validation issue through saving the issue first and then adding a watcher 12 years ago
Philipp Tessenow bb5388cd10 we dont have private issues (yet?) 12 years ago
Jean-Philippe Lang 4e1d6925c4 Override watcher_user_ids= to make ids uniq (#10538). 12 years ago
Philipp Tessenow 5fcc089e55 require all the fixtures token_test.rb needs to pass 12 years ago
Philipp Tessenow 0453fc3170 require more fixtures to let time_entry_activity_test pass 12 years ago
Philipp Tessenow 5cf8554947 require enough fixtures to let time_entry_tests run 12 years ago
Philipp Tessenow a20c3068e0 fix typo in name of TimeEntry#earliest_date_for_project 12 years ago
Martin Linkhorst 30ac4b8e28 wrote new specs for themes 12 years ago
Philipp Tessenow 768e7f820f fix wiki_content tests 12 years ago
Philipp Tessenow 33fd40decf composed multiple redmine commits (thanks goes to jpl) to let MailHandler tests pass. 12 years ago