Commit Graph

6811 Commits (c14eb536d544e5ad4507a2a2b3b854f314492d41)
 

Author SHA1 Message Date
Philipp Tessenow c14eb536d5 implement possible_watchers on things that can be watched 12 years ago
Philipp Tessenow 9876888ed0 update gems 12 years ago
Philipp Tessenow 0660af7630 do not crash when User.table_exists? is false and factories are loaded 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 91fa7675fd create issue at the right place in test_helper and dont create new anonymous users in the user_factory 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 28c4caca2a do not create a role in user factory if not nesseccary 12 years ago
Philipp Tessenow a798eaec7c user factory can now assign multiple projects to the to-be-generated user 12 years ago
Philipp Tessenow 95f1fc466e fix comment_test - user has to be a member of the project 12 years ago
Philipp Tessenow 391b71da0a allow user factory to assign a project to a user 12 years ago
Philipp Tessenow 51ed9dd781 Merge branch 'feature/rails3' of github.com:opf/openproject into feature/rails3 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
Philipp Tessenow 4066319064 fix typo in message.yml fixture 12 years ago
Philipp Tessenow 7b510e8196 give repository_factory a hopefully helpful comment 12 years ago
Philipp Tessenow 1eab937657 message factory generates correct content/subject sequences 12 years ago
Philipp Tessenow d7f5c70ecb application_helper now understands underscores in project identifiers 12 years ago
Martin Linkhorst d69b3f0430 jstoolbar gets included in the main application.js file by sprockets 12 years ago
Martin Linkhorst 64ab38840c some minor refactorings to the themes code 12 years ago
Martin Linkhorst 4c63252a60 convert #pending into #should_eventually 12 years ago
Martin Linkhorst 964d8e35d2 themes changed, so update the tests. per-theme javascripts aren't implemented and tests are marked pending. do we need per-theme javascripts? 12 years ago
Martin Linkhorst 5f3f28409b convert ActionController::IntegrationTest to ActionDispatch::IntegrationTest 12 years ago
Martin Linkhorst 7f0ed5a47c an ugly test passes by making it more ugly… 12 years ago
Martin Linkhorst d8e3513b08 we need a watchable for this validation 12 years ago
Martin Linkhorst 3fa6738244 this needs to issue a put request 12 years ago
Martin Linkhorst 58f1108275 this action got renamed, yay 12 years ago
Martin Linkhorst 28ae758d6b REVIEW: the wiki partial got removed in favor of the wiki_tabs feature. for now, just render nothing 12 years ago
Martin Linkhorst eb3c743c59 fix encoding stuff and finally figured out that piece of weird code 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 4270bc4cdd CodeRay is smart enough to discover the correct source encoding. so wrap normal text in CodeRay's scan method before passing it to ERB::Util.html_escape 12 years ago
Martin Linkhorst 252fb107ea revert an old commit and assign watcher parameters through mass assignment again. instead, add a validation in the model that ensures that the user is allowed to watch the watchable. 12 years ago
Martin Linkhorst cf606a2f1f make robots work: "/robots", "/robots.txt", and "/welcome/robots.txt" (which the former two map to) will work correctly. if you want "/welcome/robots(.html)" to work add a robots.html.erb file in "/app/views/welcome". 12 years ago
Martin Linkhorst 42be728a54 REVIEW: revert part of git commit b30fac4 12 years ago
Martin Linkhorst 1ae58c11d0 * unfortunately there are still two implementations 12 years ago
Martin Linkhorst 82e73f51d1 fix svn repository controller tests 12 years ago
Martin Linkhorst 24d4325f9f fix wiki controller tests 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 d8da94c6db Merge branch 'feature/rails3' of github.com:opf/openproject into feature/rails3 12 years ago
Philipp Tessenow 8edf5b5df0 make document_tests pass 12 years ago
Philipp Tessenow 83fd0e906f AttachmentFactory creates an author now 12 years ago