Commit Graph

1565 Commits (0bab06bbc36832e972a57019dfa84e288866e13b)

Author SHA1 Message Date
Philipp Tessenow d0a849c9d2 CustomField#possible_values now takes locale options as :locale => :de instead of just :de 12 years ago
Martin Linkhorst 4f0c0d5a88 allow the user to actually be able to watch the issue when testing it 12 years ago
Martin Linkhorst 4fd2bac132 in tests it's better to fail early and raise an exception when a record is invalid when it shouldn't 12 years ago
Martin Linkhorst 4819bd35ea clear test data before testing 12 years ago
Martin Linkhorst 74581292f4 the custom field needs an explicit english translation which differs from the other fields' name. if not it will fallback to the german value and this test would fail for the wrong reason. 12 years ago
Martin Linkhorst 85b34be86c make this test less brittle 12 years ago
Martin Linkhorst c6116730fa for this test it doesn't matter what is watched. for some reason wiki_content isn't watchable. 12 years ago
Jens Ulferts 5bf2efc395 removes duplicate serializing causing errors on rails 2.3.17 12 years ago
Martin Linkhorst 7ecb38fa9c let tests fail more early 12 years ago
Martin Linkhorst 07f4204d7e Revert "clear translations before testing" 12 years ago
Martin Linkhorst 3728f378f0 remove created custom fields before testing 12 years ago
Jens Ulferts 0856d07a9e prevents non existent permission to always be allowed 12 years ago
Jens Ulferts a3939ad5c4 clears cache before burndown 12 years ago
Martin Linkhorst 7d01995634 just require 'spec_helper' 12 years ago
Martin Linkhorst dbc84a41b1 clear translations before testing 12 years ago
Martin Linkhorst 2e8ae37dd2 the hash containing the acts_as_journalized changes got renamed to #changed_data 12 years ago
Martin Linkhorst 2983ad864c typo fix in spec 12 years ago
Martin Linkhorst 53f321d93b fix a failing spec for deleted users 12 years ago
Martin Linkhorst 8bcd0cc619 migrate specs from core_tests as of revision 2f2aff7 on github remote 12 years ago
Jens Ulferts 75cf54c9d2 no longer excludes stories having tasks in their ancestor chain from beeing part of a backlog 12 years ago
Jens Ulferts 236a8c24e3 fetches all owner and sprint backlogs in one method each 12 years ago
Jens Ulferts 5da35002bf fixes backlog loading for broad issue trees 12 years ago
Jens Ulferts 83f75b319b speeds up issue spec 12 years ago
Martin Linkhorst 27d7b0d58e add a sample model spec to see how fast it is ;) 12 years ago
Gregor Schmidt e510f814a7 Removing incomplete patches to group/membership models 12 years ago
Jens Ulferts aec7ee2dfc fixes issue_hierarchy tests 12 years ago
Felix Schäfer 6559d52644 Postgres still doesn't order stuff on its own 12 years ago
Felix Schäfer 0d1ff9aac2 #all and #first and so on are not ordered x_x 12 years ago
Jens Ulferts 6573c523b1 specfix: fixes inoperability with other plugin 12 years ago
Martin Linkhorst 39207530d9 make the tests pass 12 years ago
Jens Ulferts f37f716287 handling user deletion 13 years ago
Jens Ulferts 6809ccf1ae destroy private cost queries upon user deletion, reassociate public once to the DeletedUser, remove the deleted user's id from filters in public cost_queries 13 years ago
Jens Ulferts 6797b78099 rewrite cost_entry_spec to no longer use fixtures 13 years ago
Jens Ulferts b69d6dca86 have a deleted_user_fallback mixin and cost_entry, labor_budget_item and rate using it 13 years ago
Jens Ulferts 72b7922e72 adding missing validations to labor budget items, specs for the model 13 years ago
Jens Ulferts ec67244d91 spec that labor_budget_items, hourly_rates and default_hourly_rates keep their user_id even when the associated user is deleted 13 years ago
Jens Ulferts 250330a2d2 removing duplicate validations on rate, refactoring date is a date validation 13 years ago
Jens Ulferts 3114e8125a testing that group_user gets deleted when a user is destroyed 13 years ago
Jens Ulferts cd34ae5fda assign User.current as author as author of a cost_object at initialization, not on before_validation; removed superfluous before_destroy 13 years ago
Jens Ulferts a80b7ee472 deleting the user sets the auhorship of associated cost object to the deleted user 13 years ago
Jens Ulferts 5b723b61ad delete associated principal_role once a principal is deleted 13 years ago
Romano Licker 9437dbe46f fixes the sad attempt to inherit target versions across projects 13 years ago
Jens Ulferts 2597b05786 specfix: using current date to make postgresql happy 13 years ago
Jens Ulferts 3d4ea2c4cc split up costlog controller edit into new, create, edit, update 13 years ago
Jens Ulferts a762a8d9af specfix: restoring original permissions so they do not interfere with other tests 13 years ago
jwollert 8da4ea31ec fixin' ALL the tests 13 years ago
Gregor Schmidt 020779db95 Protect VersionSetting from mass assignment vulnerability 13 years ago
Jens Ulferts 7a3f52f34c rewritten allowed_to? modification to be compatible with new core implementation 13 years ago
Jens Ulferts 14d7d552db adapt allowed_to? manipulation to follow new core implementation 13 years ago
Romano Licker 19d8265569 if remaining hours was not set it should stay 13 years ago