Commit Graph

1019 Commits (a6a46306b14c89b94d5630291cfda7bfd17df319)

Author SHA1 Message Date
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
Gregor Schmidt d4da42c7e4 Making test more generic 12 years ago
Philipp Tessenow 1c82bd993e added some MailHandler tests from redmine. 12 years ago
Martin Linkhorst a67afceb0c little refactoring of user preferences 12 years ago
Jean-Philippe Lang ff195605b3 Ignore emails with Auto-Submitted: auto-replied header #190 12 years ago
Philipp Tessenow 9fce36a0d4 when executing the regex for login and password in a mail, dont get confused by windows-newlines 12 years ago
Philipp Tessenow ba4c0215d6 require ALL the fixtures in mail_handler_test 12 years ago
Martin Linkhorst 8db0cac033 more minitest assertions 12 years ago
Martin Linkhorst 9d69adc5e9 use minitest's refute methods 12 years ago
Martin Linkhorst 23167a0ac9 change name of column for acts as journalized changes 12 years ago
Martin Linkhorst 43b0bc2e46 fix creation of journals in order to fix some tests 12 years ago
tmaruyama 711f4e63ee move repositories helper to_utf8 tests to new CodesetUtilTest (#2371) 12 years ago
Philipp Tessenow 6718dba7ef require all the fixtures (neccessary to let journal_test.rb pass) 12 years ago
Philipp Tessenow 84e2729b98 REVIEW: another batch of the renaming effort from Journals#changes to changed_data 12 years ago
Philipp Tessenow 8739429027 fix test: require projects, users, and trackers fixtures in journal_test 12 years ago
Martin Linkhorst 5f89c5497e use the correct css classes for the new coderay version 12 years ago
Martin Linkhorst 55197c8372 expect the encoding.. 12 years ago
Jean-Philippe Lang b2186ff42c Fixed tests broken by r10088. 12 years ago
Martin Linkhorst f1c3a5ef4e REVIEW: updated to a recent version of rubytree. fixed a minor bug. let's hope it will work. 12 years ago
Martin Linkhorst 38f54383b2 fix some active record queries to work with the new version of rails 12 years ago
Martin Linkhorst a2fe5839a0 REVIEW: we need to extend the current used version of awesome_nested-set. see commit for details 12 years ago
Martin Linkhorst e1327b9b9c add a note why this fails. this is the reason why deleting issues (and projects) sometimes doesn't work 12 years ago
Martin Linkhorst f3ea450c1e expect two emails since we send one email per user instead of bcc'ing them. we could stub out the #notified_users to remove the magical number and make it more clear but the stubbing is somehow forgotten on the way 12 years ago
Martin Linkhorst c06e3fa94a Just make sure we have a clean state before creating the project 12 years ago
Martin Linkhorst 621fe4a477 clone will return the same active record object (same id in the db) which will cause an issue relation to be invalid (same object in from and to). this creates two active record objects which you can then link to each other. probably active record changed the way they handle #clone 12 years ago
Martin Linkhorst 01a502712d small refactoring of the document tests. note the failing test that actually should pass.. investigate that later 12 years ago
Martin Linkhorst 7de159fbca refactor comment class and fixed the tests. give news a clearer api to create a comment for a news object. this couples news to the comment class atm but can easily be extracted into a module or so. 12 years ago