Commit Graph

6 Commits (98a412e2b2b5a46571ec28af3aa1ecc6dd95605d)

Author SHA1 Message Date
Oliver Günther 059770f533
FactoryGirl => FactoryBot 7 years ago
Oliver Günther 6ef4211e77
Bump copyright to 2018 (#6171) 7 years ago
Oliver Günther 7cf11bb689 Update copyright notice 8 years ago
Oliver Günther 9737c597c9
Fix legacy watcher spec 8 years ago
Jens Ulferts ff3ecc9e59 employ sql based user allowed scope for acts as watchable 8 years ago
Stefan Botzenhart e6972f5f9d Move legacy spec to separate spec folder 9 years ago
Alexander Bach 5fea667954 Return recipients as users instead of mail addresses 9 years ago
Alex Coles 36b089923c Remove Array expectation in legacy Watcher spec 10 years ago
Alex Coles 2efd6f4e45 Move legacy specs under spec/legacy 10 years ago
Alex Coles 3445baec04 Convert specs to RSpec 3.2.0 syntax with Transpec 10 years ago
Alex Coles 1501012cf8 First spike porting Test::Unit tests to RSpec 10 years ago
Alex Coles 7f9822224b Use 1.9+ Hash syntax in test-unit tests 10 years ago
Alex Coles e0191e759c Update year in copyright header to 2015 10 years ago
Johannes Wollert 8b096975fe updates copyright headers 11 years ago
Martin Linkhorst 97580671b0 remove mocha from OpenProject as we can use rspec-mocks nowadays :) 11 years ago
Philipp Tessenow a1e67dd460 new copyright header #1903 11 years ago
Jens Ulferts 1b9edac314 removes issue views/actions/routes no longer required 11 years ago
Stefan Frank 4c849f8915 fixed unit-test-issues 11 years ago
Hagen Schink a6f83f1d3c Adapt references to work package 12 years ago
Hagen Schink 05f2f300fc Introduce work unit permissions 12 years ago
Jens Ulferts 21459a384f provide every possible file with a short copyright notice 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 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 669d7390dd refactored watcher tests 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 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
Jens Ulferts 025d1b920b fixes watcher_tests 12 years ago
jwollert 3f6cfff4ae uses #force_attributes= in watcher test for mass_assignment 13 years ago
jwollert a1fe27df31 uses #force_attributes= in watcher test for mass_assignment 13 years ago
Holger Just 91070236db Set source encoding to UTF-8 13 years ago
Jean-Philippe Lang 5d7bc5c94c [#577] Avoid validating users when creating watcher relation 13 years ago
Holger Just 07185fb169 [#436] Remove trailing whitespace 14 years ago
Eric Davis 99507a0391 [#197] Upgrade the copyright in the code files 14 years ago
Jean-Philippe Lang dac912b379 Fixed: Email notifications are sent to watchers even if 'No events' setting is chosen (#7763). 14 years ago
Jean-Baptiste Barth 17f86d964f Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050 14 years ago
Jean-Philippe Lang a00d1eabd7 Fixed: watchers selection lost when issue creation fails (#5406). #watched_by? was fixed in order to work with #watcher_user_ids= used in controllers on unsaved objects. 15 years ago
Jean-Philippe Lang f33231181f Makes user unwatch what he can no longer view after its permissions have changed (#3589). 15 years ago
Eric Davis 7b0cb6aba8 Upgraded to Rails 2.3.4 (#3597) 15 years ago
Jean-Philippe Lang 21c97c6a13 Added project module concept. 17 years ago
Jean-Philippe Lang 2fb84af3e9 Added "Watch" functionality on issues. It allows users to receive mail notifications about issue changes. 18 years ago